PowerSchool Group Interview Question

Write code for finding count of recurring numbers