[test_app2] Add config for error_event_count

Add in an EVENT_COUNT type metric to test_app2.

Test: Ran test_app2 and logged an event_count metric
Change-Id: I90769428bf343fbbdbbdbd0716fc2b3011b0e768
1 file changed