title: How to check how many times something occurs in a string in PHP
body: <p>I want to check how many instances of the letter <code>a</code> appears in a certain string. </p>
  
  <p>What is the function for this? I need it to return an integer value.</p>