Well if its only a counter for a single entry (not on multiple files etc) probably a flat file, mainly because having a table in a database for a single record isnt using the Database to its full capabilities. However with saying that the counter may get very large and using a flat file may become inefficient this is when a database may be best used. However starting off like I said a file should do.