Added signals to measure number of msg
Calculation count