terminal methods should be delegated to query
Merge pull request #3 from hasghari/terminal-methods

Terminal method calls on query builders (i.e. #count) should not reach Enumerable methods and instead be delegated to the ActiveRecord::Relation query object instead.