Fix the tests for Record#count