How does the Eulers formula hold true for the right pentagonal prism?

I know that it has 7 faces 10 vertices and 14 edges, but all this does not fit the formula to equal to 2

7+10-14 is not 2 am I missing something

Your edge count is wrong.