title: By java how to count file numbers in a directory without list()
body: <p>Without using <code>file.list()</code> or <code>Files.list(path)</code>, how to count file numbers in a directory?</p>
  
  <p>I just want a number, no detail. Given me a quick way please.</p>