The number of classical paths of a given length, connecting any two events in a (pseudo) Riemannian spacetime is, of course, infinite. It is, however, possible to define a useful, finite, measure N(x2,x1;σ) for the effective number of quantum paths [of length σ connecting two events (x1,x2)] in an arbitrary spacetime. When x2=x1, this reduces to C(x,σ) giving the measure for closed quantum loops of length σ containing an event x. Both N(x2,x1;σ) and C(x,σ) are well-defined and depend only on the geometry of the spacetime. Various other physical quantities like, for e.g. the effective Lagrangian, can be expressed in terms of N(x2,x1;σ). The corresponding measure for the total path length contributed by the closed loops, in a spacetime region 𝒱, is given by the integral of L(σ;x)≡σC(σ;x) over 𝒱. Remarkably enough L(0;x)∝R(x), the Ricci scalar; i.e. the measure for the total length contributed by infinitesimal closed loops in a region of spacetime gives us the Einstein–Hilbert action. Its variation, when we vary the metric, can provide a new route towards induced/emergent gravity descriptions. In the presence of a background electromagnetic field, the corresponding expressions for N(x2,x1;σ) and C(x,σ) can be related to the holonomies of the field. The measure N(x2,x1;σ) can also be used to evaluate a wide class of path integrals for which the action and the measure are arbitrary functions of the path length. As an example, I compute a modified path integral which incorporates the zero-point-length in the spacetime. I also describe several other properties of N(x2,x1;σ) and outline a few simple applications.