title: Get the amount of elements higher than a particular one
body: <p>I have this in my php code:</p>
  
  <pre><code>$aNumbers = array(2,8,9,5.5,4,5.5,6,7,8,9,10,1,'NB');
  </code></pre>
  
  <p>From this I must determine the amount of values above 5.5 and the average of all numbers combined. Using only a For Loop, if/else construction and the count() function.</p>
  
  <p>I have tried to solve this myself, but nowhere on the internet I can find sufficient information.</p>