<s> from . base import BaseCommand <EOL> class CountPercolateCommand ( BaseCommand ) : <EOL> command_name = "<STR_LIT>" <EOL> def run_request ( self ) : <EOL> options = dict ( <EOL> index = self . settings . index , <EOL> doc_type = self . settings . doc_type , <EOL> body = self . get_text ( ) <EOL> ) <EOL> return self . client . count_percolate ( ** options ) </s>
