counts for links