The size function for a HDG method applied to the Helmholtz problem