Adds getCount function to be consistent with other primitives API
Merge pull request #94 from cedricpinson/bug/draw-array-lengths

Adds getCount function to be consistent with other primitives API