added missing method for pyramid-elements to edge-ratio metric