added stats method to count rows and check value parsing for each row