title: What name should have method which returns number of nested objects?
body: <p>Suppose we have classes Gallery and Image. There can be many images in one gallery. </p>
  
  <p>Gallery should have some method which returns number of nested images. My suggestions:</p>
  
  <pre><code>int getImagesCount ();
  
  int countImages ();
  
  int imagesCount ();
  </code></pre>
  
  <p>I saw examples of each of these 3 suggestions in different APIs (of course with another noun or even without it, like method <code>size ()</code> in Collections API).</p>
  
  <p>What would you prefer and why? (One of my thoughts against <code>countImages ()</code> is that this name can make user think that this method does some complex calculations.)</p>