add basic workflow for custom statement events.
event handler for VIEW_COUNT removal, yet mockup'ed