title: Java - Count number of symbols in string
body: <p>Let's say I have this string:</p>
  
  <pre><code>String helloWorld = "One,Two,Three,Four!";
  </code></pre>
  
  <p>How can I make it so it counts the number of commas in <code>String helloWorld</code>?</p>