Added the option to pass a maximum number of rows to process.

For validation purposes, it is usefull to pass the number of rows to process in order to not process all the file.