Brain-dead but simple approach below; bad practice anti-pattern also (multiple rungs writing to the same values), but that is probably going to happen in any design that solves this problem.
Replicate the second rung so there are as many of that rung as there are tank signals; this could also be done with a loop, LBL and JMP in two rungs.
This implementation is only to demonstrate the concept, as it assumes the first tank state is in I:0/0, the second tank state is in I:0/1, ..., the tenth tank state is in I:0/9.
The program would be more general if it used the [Input Map] design pattern e.g. use a bit file, say B3:0/[N7:1] instead of the I1:0/[N7:1] inputs, and copy the tank states from physical inputs into a contiguous region of B3 upstream of this code. That way the tank states do not have to be in contiguous locations along the physical inputs; also in that case if an input on the PLC went south, that tank's signal wiring could be moved to another input, and the only required code change would be to one line of the input map.
Although if I were anticipating doing that, I might as well use the hard-coded inputs in the ---] [--- XIC/NOs in the first place and skip the input map. The only advantage to using indirect addressing is that the ten lines are identical i.e. object-oriented design, conceptually separating code and data, so if I want to do anything else in the counting rungs it is easy to implement.
Crud, I just talked myself out of this approach; ignore this post.