ALTERNATIVE 1 for counting connections (-1)