title: Find count of files matching a pattern in a directory in linux
body: <p>I am new to linux. I have a directory in linux with approx 250,000 files
  I need to find count of number of files matching a pattern.</p>
  
  <p>I tried using following command :</p>
  
  <pre><code>ls -1 20061101-20131101_kh5x7tte9n_2010_* | wc -l
  </code></pre>
  
  <p>I got the following error message:</p>
  
  <pre><code>-bash: /bin/ls: Argument list too long
  0
  </code></pre>
  
  <p>Please help. Thanks in advance</p>