Small fix

The PHP MongoDB driver does not support Countable at the moment. And
because the framework is mainly for MongoDB there is a small fix added
to fix the count of the resultset