Adding count to link check