Simplify record count statement again