Plasma density measurements in a magnetically insulated ion diode