SLX Learning interview question

Write a program to get distinct values and there count from array