implemt event counts