Combinatorial representation of invariants of a soliton cellular automaton