initialized count on "diagonal links"