Fix weird issue with array counting