title: How to get number of results in strings.Contains?
body: <p>When you want to check if a string contains some substring, you do it this way:</p>
  
  <pre><code>msg = "Lorem ipsum example of lorem ipsum."
  if strings.Contains(msg, "ipsum") {
     fmt.Println("contains word ipsum")
  }
  </code></pre>
  
  <p>How can I find out how many times the word "ipsum" appears in <strong>msg</strong>?</p>