The next version, 1.13.0, adds CSVPrinter.getRecordCount()
This is in git master and snapshot builds for version 1.13.0-SNAPSHOT in https://repository.apache.org/content/repositories/snapshots/