decrease the count if ( positive , negative ) pair is encountered
count = count - 1 ; NEW_LINE i = i + 1 ; NEW_LINE j = j - 1 ; NEW_LINE elif ( sum < 0 ) : NEW_LINE i = i + 1 ; NEW_LINE else : NEW_LINE j = j - 1 ; NEW_LINE return count ; NEW_LINE