Fix collection count, when there are less records than the actual count