Topological Invariants of Bifurcation