Occurrence Count of each character in a string in C# - Interview question