def count_primes(n: int) -> int:
    # your move