Betti number
More generally still, for any topological space, we can define the "n"th Betti number "b""n" as the rank of the "n"-th singular homology group. The Euler characteristic can then be defined as the alternating sum