Sinch interview question

Create a java library which filters and count on Student object.