Add commas to count to
$('.count-to').each(function() {
$(this).one().countTo({
onComplete: function(value) {
// convert string to integer and add commas
$(this).one().text(parseInt(value).toLocaleString());
}
});
});