title: Is there a bash command which counts files?
body: <p>Is there a bash command which counts the number of files that match a pattern?</p>
  
  <p>For example, I want to get the count of all files in a directory which match this pattern: <code>log*</code></p>