Fixed missing promise for counter