Analytic results for the gravitational lens statistics of singular isothermal spheres in general cosmologies