title: How to count all files inside a folder, its subfolder and all . The count should not include folder count
body: <p>How to count all files inside a folder, its subfolder and all . The count should not include folder count.</p>
  
  <p>I want to do it in MAC</p>