Fix sqla total count
Merge pull request #79 from iurisilvio/patch-2

Fix sqla total count