dnpage's solution to function count() needing to check whether query is fluent or eloquent
Merge pull request #9 from mclassic/master

dnpage's solution to function count() needin to check whether query is fluent or eloquent. fix #8 #9