p-adic limits of Euler characteristics