comcount functionality finalized.