Fix for method count without specifying $criteria but with the condition in defaultScope
Merge pull request #104 from Rathil/master

Fix for method count without specifying $criteria but with the condition in defaultScope