Implement count without groupby
e.g. SELECT count(*) from users