Fix #2 for method count without specifying $criteria but with the limit||skip||etc... in defaultScope
merge with base/master
Rewrite old fix #2
Remove extra checks
Merge pull request #105 from Rathil/master

Fix №2 for method count without specifying $criteria but with the limit||skip||etc... in defaultScope