class_docstr: :class:`~fastNLP.core.dataset.DatSet` 中用于表示列的数据类型。
  
  :param name: 字符串的名称
  :param content: 任意类型的数据
class_docstr_tok: [":","class",":","`","~fastNLP.core.dataset.DatSet","`","\u4e2d\u7528\u4e8e\u8868\u793a\u5217\u7684\u6570\u636e\u7c7b\u578b\u3002",":","param","name",":","\u5b57\u7b26\u4e32\u7684\u540d\u79f0",":","param","content",":","\u4efb\u610f\u7c7b\u578b\u7684\u6570\u636e"]
docstr: 返回该 field 下不同 value 的数量。多用于统计 label 数量
  
  :return: 计数结果，key 是 label，value 是出现次数
docstr_tok: ["\u8fd4\u56de\u8be5","field","\u4e0b\u4e0d\u540c","value","\u7684\u6570\u91cf\u3002\u591a\u7528\u4e8e\u7edf\u8ba1","label","\u6570\u91cf",":","return",":","\u8ba1\u6570\u7ed3\u679c\uff0ckey","\u662f","label\uff0cvalue","\u662f\u51fa\u73b0\u6b21\u6570"]
code: def value_count(self) -> Counter:
      r"""
      返回该 field 下不同 value 的数量。多用于统计 label 数量
  
      :return: 计数结果，key 是 label，value 是出现次数
      """
      count = Counter()
  
      def cum(cells):
          if isinstance(cells, Callable) and not isinstance(cells, str):
              for cell_ in cells:
                  cum(cell_)
          else:
              count[cells] += 1
  
      for cell in self.content:
          cum(cell)
      return count
  
imports: from collections import Counter
  from typing import Any, Union, List, Callable
  from ..log import logger
  import numpy
label_desc: Use image node_id 15 for calling the FieldArray obj's underlying member method code with example usage: obj.value_count() and returns: count