The message counter was designed to track and limit the amount of messages sent by organisations. Currently, it seems the amount of messages is not always correctly updated. To improve this, the best option would be to add a signal, that would update when the status becomes "UNFINISHED" or "COMPLETED". But then it should not do this again. So it should only count when the status moves from not one of those two, to one of those two.
The message counter was designed to track and limit the amount of messages sent by organisations. Currently, it seems the amount of messages is not always correctly updated. To improve this, the best option would be to add a signal, that would update when the status becomes "UNFINISHED" or "COMPLETED". But then it should not do this again. So it should only count when the status moves from not one of those two, to one of those two.