getting " InvalidOperationException: Sequence contains no elements " error when trying to call
var linkcount = client.TrafficLight.GetControlledLinks(newjunction.name).Content.NumberOfSignals;
Not my code. It seems to me that possibly the .NumberofSignals is not a defined value.
The original code is trying to return the controlledlinks.length integer value from SUMO, I believe.