def totaled_total_tbr(cc, sql_time_specification):  # pragma: no cover
  """Counts the total number of commits with a TBR in a given timeframe

  Args:
    cc(cursor)
    sql_time_specification(str): a sql command to limit the dates of the
                                 returned results

  Return:
    result(int): a count of all commits with a TBR
  """
  cc.execute("""SELECT COUNT(DISTINCT git_commit_hash)
      FROM commit_people
      INNER JOIN git_commit
      ON commit_people.git_commit_hash = git_commit.hash
      WHERE commit_people.type = 'tbr' AND %s""" % sql_time_specification)
  result = cc.fetchone()
  return int(result[0])