issue #271: optimise LENGTH(p.edges) operator const-value