You can be the garden and ill be your hoe 7w7

Riddle:

a man bought 6 eggs, he broke two, he cooked two and he ate two. how much eggs did he eat then :>?