support port counters in ivs

Reviewer: @rlane