Plugin for animated counting starting from one number and ending with another, along with some useful options.
$(document).ready(function(){
$('.someElement').countTo({
from: 0,
to: 35,
speed: 5000,
refreshInterval: 50,
onComplete: function(value) {
/* Do something when done */
}
});
});
Here is a working example