Find out how many unhandled messages a process received

I don’t understand what you are trying to communicate.

According to my knowledge, when a process receives a message, if it doesn’t know what to do it with (because there is a missing handle_info for example) the process simply consumes the message, spits and error and moves on.

The key here is the phrase “consumes the message”, meaning it removes it from the message’s queue and moves on.

Is my understanding of message handling incorrect?