"type[Counter]" has no attribute "remote"

I’ve just been adding # type:ignore comments to the affected lines to appease mypy. Not an ideal solution.

counter = Counter.remote() # type:ignore