Pergunta de entrevista da empresa Anheuser-Busch InBev

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