My JSON array looks like this:
    {
  "messages": [
    {
      "msg": "?",
      "name": "johndoe"
    },
    {
      "msg": "hello",
      "name": "johndoe",
    },
    {
      "msg": "twitt",
      "name": "johndoe"
    },
    {
      "msg": "hello everyone!",
      "name": "johndoe"
    },
    {
      "msg": "hello! how are you",
      "name": "johndoe"
    },
    {
      .........
I would like to know how I can check how many times the word "hello" shows up in this whole array, and then just return the number. Thank you for the help.
 
     
     
     
    