Numerical action for endomorphisms