Implemented counter into dscript

{'CM_TOTAL' : CM_TOTAL, 'CM_COUNT': CM_COUNT, 'CM_ONLINE' : CM_ONLINE,
'RUN_STATE' : RUN_STATE}