Use static counters in ehp.php