Second attempt at counting rows

This time irrespective of offset/limit.