[ui] count_received_event with event_time directly

This CL updates the inspect handler's inspect helper fn
`count_received_event` to take an event_time directly as opposed to the
event itself (which we only used to read the event_time).

Test: fx build
Test: fx test input_pipeline_lib_tests
Change-Id: Id2ab5e935015a8b38c4ddf30808697ad33be7cf1
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1404514
Commit-Queue: Caroline Liu <carolineliu@google.com>
Reviewed-by: Jianpeng Chao <chaopeng@google.com>
18 files changed