Return count of records in metrics