sql count. I went with sql count so that is puts the overhead on the DB