RUBY-790 Support hint with count
Merge pull request #474 from estolfo/RUBY-790-count-hint

RUBY-790 Allow count to work with query hints