input: Write a python function to determine how many times a character appears in an infinitely repeating string.
  assert count_character("abcac", 'a') == 4
  assert count_character("abca", 'c') == 2
  assert count_character("aba", 'a') == 7
output: def count_character(s: str, c: str) -> int:
      n = (100 // len(s)) * s.count(c) + s[:100 % len(s)].count(c)
      return n