find_machine_counts method and route added