Fixed usage of getNumberOfCollectionElements: replaced enclosing class with element class
Fixed usage of getNumberOfCollectionElements: now for maps
Merge pull request #50 from kirikaza/fix-usage-number-collection-elements

Fixed usage of getNumberOfCollectionElements: replaced enclosing class with element class