Pass result_count into the print function