title: How can I determine which value occurs the most in my collection?
body: <p>So, I have a json file that has a list of fruits. Fruits key can map to a single fruit or a collection of fruits. </p>
  
  <p>E.g: </p>
  
  <pre><code>[
      {
          "fruits": [
              "banana"
          ]
      },
      {
          "fruits": [
              "apple"
          ]
      },
      {
          "fruits": [
              "orange",
              "apple"
          ]
      }
  ]
  </code></pre>
  
  <p>I was wondering, how can I determine which fruit(s) occur the most in my json structure? That is, how do I know my how often a value occurs and which one is leading above the others? </p>