ocaml: remove fields regs_read_count, regs_write_count, groups_count, as they can be derived from the lengths of related arrays