Added printing of row counts