MInecraft command blocks to track days on a server
Solution 1:
Yes, you probably have a command along this line /scoreboard players add NAME @a 1
or something. This adds a count to everyone, but what you need is a global one not dependent on players.
And here it is!
Simply summon an armor stand with a name or something and set the @a
to @e[type=armor_stand,name=NAME]