title: Counting the number of compressed files in hdfs
body: <p>I am trying to count the files that are compressed in an Hdfs folder.
  I am using hdfs dfs -count /user/data | grep .snappy --it shows nothing
  grep .snappy | hdfs dfs -count /user/data   --it shows all files (even which are not .snappy)</p>
  
  <p>Can I get the proper command to count the .snappy files in this /user/data hdfs path</p>