Storing the count of game played by users each day

Hi guys,
I am working on a game for PC. I have been asked to record the number of times the game has been played each day.
So I was thinking of storing the count for each day in database
or
Create a new text file for each day and store the count.

Are these the correct ways or is there any better and efficient way to do this?

Use the playerprefs. They’re made for these purposes.

int played = PlayerPrefs.GetInt("playcountday1");
PlayerPrefs.SetInt("playcountday1", played+1);

for example;