regularized epCount handling in various places