Add msgcnt for android