Topology is geometry after putting away the ruler and protractor. Properties preserved under continuous deformations without tearing or gluing (homeomorphisms) are called topological invariants.
For a closed orientable surface, the classic invariant is the Euler characteristic:
\[\chi = V - E + F = 2 - 2g\]
Here \(g\) is the genus (the number of handles). A sphere has \(g=0\) (\(\chi=2\)), while a torus has \(g=1\) (\(\chi=0\)).