add link domain counter and tests