code: def count(self, src):
          '''Perform ``count`` on a path'''
          src = [self._full_hdfs_path(x) for x in src]
          return self._transform_count_output(self._getStdOutCmd([self._hadoop_cmd, 'fs', '-count'] + src, True), self.hdfs_urlf count(self, src):
          '''Perform ``count`` on a path'''
          src = [self._full_hdfs_path(x) for x in src]
          return self._transform_count_output(self._getStdOutCmd([self._hadoop_cmd, 'fs', '-count'] + src, True), self.hdfs_url)
docs: Perform ``count`` on a path