Calculating Modified V5 Dice Probabilities with AnyDice

My game uses 5th edition rules with a house rule where 1s subtract successes and 10s count as two successes. 2s through 5s count as no successes and 6s through 9s count as single successes as normal.

I’d like to compare the specific probability ranges to V5’s normal rules. What function can I use to do so over AnyDice?