add getCount method to make unit testing easier
Merge pull request #162 from brharrington/master

add helper method for getting the raw count