Closed geodesics and the first Betti number | Synapse