+ adding error counts to the heartbeat