Count the pi outputs on the plc. You may only have 6 floors. TOP floor would need to reflect controller's configuration.

Counters take effect after power cycle. Good luck.