def totaled_total_commits(cc, sql_time_specification):  # pragma: no cover
  """Counts all the git commits 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 the commits
  """
  cc.execute("""SELECT COUNT(*)
      FROM git_commit
      WHERE %s""" % sql_time_specification)
  result = cc.fetchone()
  return int(result[0])