The key here is that someone can always take your app, decompile it, then change it so that it bypasses the count OR just figure out how you're storing the count and then revert it to the initial state.
So really this depends on how badly you need to enforce the 5 times only rule.
If you want to make it annoying.. but not impossible, then just store in a database or file somewhere the number of times the user has used the app.
If you NEED to enforce this and make it impossible to subvert then you need to have a webserver do all of the processing and have their username only allowed 5 uses.
Remember that unless you use a webserver it is possible to get around whatever limit you do. If you can't use a webserver then you'll at least want to obfuscate your code. See these links: