ConnectionModel: getLength()