def task_9_count_customers_by_country_with_than_10_customers(cur):
    """
    List the number of customers in each country. Only include countries with more than 10 customers.

    Args:
        cur: psycopg cursor

    Returns: 3 records
    """
    cur.execute("""SELECT COUNT(*), country FROM customers GROUP BY country HAVING count(*)>10""")
    return cur.fetchall()