degree.bn function

Calculates the degree of a list of nodes