added support for the PCML count attribute (repeating elements)