Adding a simple count method to selectors.
Making sure that count queries with a limit work correctly.
Fix parameter order in comment.
Adding count() to EntitySelector.