Anyway, this is the location of the counter. After you have copy all the photos out from the default folder, just change the value back to 1 or any number you would like and it will be reset. I have tried it on my Omnia and it works.
[HKEY_CURRENT_USER\Software\Samsung\Camera]
"DCFNumber"=dword:00000001
