It depends on whether the eggs dropped on the pillow broke, which depends on the height they were dropped from and the fimness of the pillow as well as many other factors. Assuming that the two eggs dropped on the pillow did not break and are still useful for your intended purposes:

Twelve eggs - two unbroken but dropped eggs = still twelve eggs
Twelve eggs - five eaten eggs = seven eggs
Seven eggs + 1 egg thrown through the window = 8 eggs

However, it is worth noting that it is extremely unlikely for an egg to break a window, and even less likely for an egg to break a window while the egg remains unharmed. A broken window would also cost the value of many eggs to repair, so you will likely be able to buy less eggs in the future.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence