title: Count elements conditional in ArrayList
body: <p>I'm supposed to return the <em>count of elements</em> in <code>myList</code> base on some condition.
  The condition on each <code>Integer</code> element to be counted is:</p>
  
  <blockquote>
    <p>not less than 40</p>
  </blockquote>
  
  <pre><code>public int count(ArrayList&lt;Integer&gt; aMyList) {
      int count = 0;
      for (int aInteger : aMyList) {
          if (aInteger &lt;= 40)
              count++;
      }
      return count;
  }
  </code></pre>
  
  <p>Is there anything wrong? Thanks in advance.</p>