Not quite sure what your are trying to achieve with the count. as far as i can see you are trying to read a parameter called count on all your SpecialityEquipment elements, wouldn’t an elments count always be 1?