if we are talking about counting how many times a player has connected, like give me a heli when i join the 100th time, i would use profilenamespace and increment each time and check. i think that would be a file exec from init.sqf
let me know if thats what you want to do and i can whack one out in a moment.https://community.bistudio.com/wiki/profileNamespace