title: Count number of specific file type of a directory and its sub dir in mac
body: <p>I use <code>ls -l *.filetype | wc -l</code> but it can only find files in current directory.<br>
  How can I also count all files with specific extension in its sub dirs?
  <br>Thank you very much.</p>