fix DatabaseModel count with WHERE clause typo

There was small typo - no space between table name and WHERE keyword
Merge pull request #117 from mmua/patch-1

fix DatabaseModel count with WHERE clause typo