Measurement of plasma density in the discharge maintained in a nonuniform gas flow by a powerful radiation of terahertz-band gyrotron