# pybedtools.bedtool.BedTool.count

`BedTool.``count`()

  Count the number features in this BedTool.

  Number of features in BED file. Does the same thing as len(self), which actually just calls this method.

  Only counts the actual features. Ignores any track lines, browser lines, lines starting with a “#”, or blank lines.

  Example usage:

      >>> a = pybedtools.example_bedtool('a.bed')
      >>> a.count()
      4