The ''except'' Wolfram Alpha linguistic

I want to make the summation from k=0 to 9 of 1 without the value k=2 for example and obtain the result 9 instead of 10. Is there any way I can do that?
I tried sum from k=0{2} to 9 of 1.
I tried sum from k= (0) && (!=2) to 9 of 1.
I tried sum from k=0, Except[2] to 9 of 1.
Nothing seems to be working.

Try this Sum using Boole

Boole is a function that will equal 1 if the condition is True and equal 0 if the condition is False.