Stop building massive loops just to count records or sum up ...