Every time a URL is called, it creates a hit. So yes, that code will create one hit a minute, if not more (It would cause more if the get_user_data.php calls other files when it is run.
The second parameter of setInterval takes a time interval in milliseconds. You set it to 1000 milliseconds, which is one second.
If you only want it to trigger once per minute, you need to set it to 60000 instead.
Our hits limit is very reasonable. But if you write code that’s continuously hammering the server in the background because of a coding error, then you’ll exhaust your account’s limits very quickly.
To be very clear: the “call other files” part only applies if you use something like file_get_contents to trigger other URLs on your site. Calling other code by using things like require and include doesn’t generate additional hits usage.