code: func (self *AccountingApi) MsgCredit() (int64, error) {
  	if self.metrics == nil {
  		return 0, errNoAccountingMetrics
  	}
  	return mMsgCredit.Count(), nil
  }
docs: // MsgCredit returns total amount of messages credited by local node