let the db do whats needed to get a result count
Authored by: dockes 2006-01-26
Parent(s): [af1052]
Child(ren): [6d419c]