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_url)
def count ( self , src ) : 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 )
Perform ``count`` on a path