Tested before and it actually works. You beat me to it.
I actually cleared out all the directory. There should be some counter of messages somewhere there. Don't know how 3CX internally 'counts' the number of messages. Maybe someone from 3CX can answer this question.