count(*) ? wouldn't count(id) be enough?