Adding test that verifies #227 - criteria is ignored in `count`
Applying fix for #227 - verifies that the criteria object is used in `count`

Fixes #227
Merge pull request #251 from doctrine/hotfix/issue-#227-selectable-adapter-count

Adding test that verifies #227 - criteria is ignored in `count`