don't output all data to console, only counts. also output time taken for operation.