fixes bug 898432 - use proper model for table count
Merge pull request #1401 from rhelmer/bug898432-table-count-wrong

fixes bug 898432 - use proper model for table count