parameters: (self, left, right, value)
return_statement: return bisect.bisect_right(self.__idxs[value], right) - \
                 bisect.bisect_left(self.__idxs[value], left)
docstring: :type left: int
          :type right: int
          :type value: int
          :rtype: int
docstring_summary: :type left: int
          :type right: int
          :type value: int
          :rtype: int
docstring_tokens: : type left : int : type right : int : type value : int : rtype : int
function: def query(self, left, right, value):
          """
          :type left: int
          :type right: int
          :type value: int
          :rtype: int
          """
          return bisect.bisect_right(self.__idxs[value], right) - \
                 bisect.bisect_left(self.__idxs[value], left)
function_tokens: def query ( self , left , right , value ) : return bisect . bisect_right ( self . __idxs [ value ] , right ) - bisect . bisect_left ( self . __idxs [ value ] , left )