added/set viewport counter