new: count records and bytes