Fix or change visit counter

Since a few years ago I’ve had a php script that gets my google analytics visit count (currently around 5 million) and adds the 1.5 million visits I had prior to including analytics. Some time ago when I changed google passwords, I messed something up, and the person who helped me with the script no longer works for me.
I need to either fix it so it will show run, or find a stack that does the same simple task.

Any suggestions or can someone help?
thanks