count total rows.... kinda sux