Luxoft Interview Question

write program to count occurance of a character using java 8