ethdev: add shared counter to flow API