The sum runs over all the vertex degrees greater than two