Query->count() method should always return an integer
Merge pull request #118 from dhotson/integer-count

Query->count() method should always return an integer