Remove orderBy from select when counting
Fix indentation
Merge pull request #155 from antonioribeiro/partialfixfor#154

Remove orderBy from select when counting