Fix failing mysql count test
Merge pull request #2125 from Mark-de-Haan/master

Fix failing mysql count test