implement JSONWriter#write_meta
better metadata for CountInstruction