How to reset number of failed passcode attempts on iPhone 4?

So, I'd rather not get into detail on how it happened, but I changed my passcode and now I can't remember. I don't want to have to restore it because I know that it was between 4 numbers and I CAN guess it, if I get enough chances. However, I don't want to delete all of my data.So, is that option to delete everything after 10 failed attempts something that is naturally on or do you have to make the effort to set it on yourself? Also, after the hour wait time I turned off my phone and let it sit for a few hours. Will I get a fresh new set of attempts now?

The delete thing only happens in you turned it on when setting a passcode i think the attempts only refreshes if you get the passcode right otherwise it stays. If you don't think you set the delete data on then keep trying until you get it.

I own a iPhone 4 and if you do not turn on the 10 attempts will delete data from phone switch when you set your pass code then it is not on. I have forgotten my code many times or have been in a hurry and typed it in wrong and the most amount of times in a row for me would have to be 20+ but I would guess its unlimited.