Random number generator for current shoppers

I program in php, but am not fimiliar with python or ruby on rails. I am looking for a way to put a random number generator as a shopper counter for my theme on BONGBY. I would look like this…

this is for a shopify store