providing accumulator example as proposed in FLINK-828

- shows how to build a custom accumulator (for vectors)
- employ that accumulator for obtaining filter statistics