set output file pointer to stdout temporary
remove verbose count-reporting part
remove verbose count-printing part