I think you have 4 eggs left.
You broke 2 which means you cracked the shell and got the part you cook out. You fried those eggs and ate them. You still have 4 eggs.
The trick is the word "broke". Normally if you break something you can not use it and discard it but in egg folklore breaking an egg is step 1 in a subset of egg cooking procedures.