function start_count(){
$.easing.bullshit = function(x, t, b, c, d) {
return (t == d) ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b;
};
$('.ach-number span').each(function myDigits() {
$(this).prop('Counter',0).animate({
Counter: $(this).text()
}, {
duration: 10000,
easing: 'bullshit',
step(val) {
$(this).text(Math.ceil(val));
}
});
});
}
document.addEventListener('scroll', function myFunction(e) {
e.preventDefault();
if($(window).scrollTop() >= ($(".container").offset().top - $(window).height())){
start_count();
document.removeEventListener("scroll", myFunction);
}
});
Решил проблему так !