input: Write a python function to execute a SQL query that counts the number of orders per customer from a given database connection and returns the result as a list of dictionaries.
  assert count_orders_per_customer(con) == [{'Customer_Name': 'Alice', 'Number_of_Orders': 10}, {'Customer_Name': 'Bob', 'Number_of_Orders': 5}]
  assert count_orders_per_customer(con) == [{'Customer_Name': 'Charlie', 'Number_of_Orders': 3}, {'Customer_Name': 'Diana', 'Number_of_Orders': 7}]
  assert count_orders_per_customer(con) == [{'Customer_Name': 'Eve', 'Number_of_Orders': 2}, {'Customer_Name': 'Frank', 'Number_of_Orders': 8}]
output: def count_orders_per_customer(con):
      query = """
      SELECT Customer_Name, COUNT(Order_ID) AS Number_of_Orders
      FROM Orders
      GROUP BY Customer_Name
      """
      cursor = con.cursor()
      cursor.execute(query)
      results = cursor.fetchall()
      cursor.close()
      
      return [{'Customer_Name': row[0], 'Number_of_Orders': row[1]} for row in results]