dbmanager changes

count was removed from all previous queries in dbmanager except from
getPostNumber