title: How to count the most frequent letter in a string?
body: <pre><code>class MyString:
      def __init__(self, myString):
          self.__myString = myString
  
      def countWord(self):
           count = len(self.__myString.split())
           return count
  
      def findMostFrequentChar(self):
          # ?
  </code></pre>
  
  <p>I need to implement <code>findMostFrequenctChar</code>. The only hint she gave us was that we needed to make 2 lists. and this is where she lost me.</p>
  
  <p>Here's the code that calls the function:</p>
  
  <pre><code>def main():
      aString = MyString("This is a super long long long string. Please help count me")
      print("There are", aString.countWord(), "words in the string.")
  
      count, letter = aString.findMostFrequentChar()
      print("The most frequent character is", letter, "which appeared", count, "times")
  
  main()
  </code></pre>