Fixes #351
add mol_numheterocycles() to cartridge;
part of #351