Simple link counting