I have 6 eggs. I broke 2, I cooked 2 and ate 2. How many eggs do I have?
Note the use of past and present tense in the riddle.
The riddle states that you have 6 eggs, using a present clause . It then states that you broke, cooked and ate 2 eggs, using a past clause.
So, it does not matter what happened to the eggs in the past, at the present moment, you have 6 eggs.