Anheuser-Busch InBev Interview Question

How to perform record count check between input file and target database?