title: Recursively find all files that match a certain pattern
body: <p>I need to find (or more specifically, count) all files that match this pattern:</p>
  
  <p>*/foo/*.doc</p>
  
  <p>Where the first wildcard asterisk includes a variable number of subdirectories. </p>