class_docstr: Type of a function that counts arbitrary things. Signature is <#1,n>.
docstr: See ``PlaceholderType.resolve``
docstr_tok: ["See","``","PlaceholderType.resolve","``"]
code: def resolve(self, other):
      """See ``PlaceholderType.resolve``"""
      if not isinstance(other, NltkComplexType):
          return None
      resolved_second = NUMBER_TYPE.resolve(other.second)
      if not resolved_second:
          return None
      return CountType(other.first)
  
imports: from __future__ import absolute_import
  from nltk.sem.logic import Type, BasicType, ANY_TYPE, ComplexType
  from allennlp.semparse.type_declarations.type_declaration import ComplexType, HigherOrderType
  from allennlp.semparse.type_declarations.type_declaration import PlaceholderType, NamedBasicType
  from allennlp.semparse.type_declarations.type_declaration import UnaryOpType, BinaryOpType
label_desc: Use image node_id 2 for calling the CountType obj's underlying member method code with example usage: obj.resolve(other) and returns: CountType, None, None