<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def plotlyFrequencyHistogram(counts):
 """ x-axis is a count of how many times a bit was active y-axis is number of bits that have that frequency """

  data = [
    go.Histogram(
      x=tuple(count for _, _, count in counts.getNonZerosSorted())
    )
  ]
  py.plot(data, filename=os.environ.get("HEATMAP_NAME",
                                        str(datetime.datetime.now())))