title: Recursively count files in all nested Subdirectories in a Linux
body: <p>How can I cound recursively number of files in a subdirectry in a Linux system. I know </p>
  
  <pre><code>tree
  ncdu
  </code></pre>
  
  <p>These commands with really nice and informative output but does not cound files. I was trying to</p>
  
  <pre><code>find . -type d -print0 | xargs -0 {HERE I SHOULD DO SOMETHING}
  </code></pre>
  
  <p>But fail. Output like this:</p>
  
  <pre><code>00. Introduction: 6
  04. Topic 1: 18
  01. Topic 2: 14
  02. Topic 3: 10
  05. Details 4: 4
  03. Conclusion: 6
  </code></pre>
  
  <p>There is a <strong>spaces and special characters</strong> in directory names</p>