count in CMC

Hi,

This post can help you for the first question. Specific sdk for the last one.

Regards