implement getDateEventCount