Recently I had problem of SMS count in my Omnia. I had no uread SMS in my inbox but SMS counter on Mobile Shell or M2D2 screens always showed one unread message. I flashed many ROMs but when I rrestore my SMS's the problem used to surface again. After a lot of searching I found these two very useful utilities which reset SMS counter.
thanks my friend !!!