Adding getElementsCount
Merge pull request #1 from puneet0191/2.0

Adding getElementsCount