FYI, len(resultPort) in Python :p