Hey there. I'm a semi-newbie and was wondering if anyone could help me build a simple JS counter that essentially do this:

A)Would start at a custom defined number (ie 5000)

B)Count up by a number (400) every second

C)The page's count would be the same to anyone who was viewing it. Basically, after the counter had been running for a day, when a user loaded the page, the loaded number would not be the original 5000, but 5000+400x, when x=amount of time passed.

Any help is appreciated, of course credits to anyone who writes code, perhaps future programming opportunity.