JSFiddle - React, Tailwind, and code Playground
HTML
<span id="cans"></span> cans processed and counting...
JavaScript
var start = new Date(2011, 0, 1);
var rate = 1 / 10 / 1000;
var base = 50000000;
setInterval(function () {
var cans = Math.floor((new Date() - start) * rate) + base;
$("#cans").html(cans); // I hope you're using jQuery
}, 5000); // update every 5 seconds