title: Recursively counting files in a Linux directory
body: <p>How can I recursively count files in a Linux directory?</p>
  
  <p>I found this:</p>
  
  <pre><code>find DIR_NAME -type f ¦ wc -l
  </code></pre>
  
  <p>But when I run this it returns the following error.</p>
  
  <blockquote>
    <p>find: paths must precede expression: ¦</p>
  </blockquote>