Count Character or Substring Occurrences in a String in C# | CodeTrail