Corrected counting of handled messages by also taking messages of other entities into account