2 of 6 deleted 9 characters in body

Perl 6, 84 bytes

{(($!={$/=[1..11];:10[map {|splice $/,$_,1},[R,] .polymod(1..10)]})($_+1)-$!($_))/9}

Try it online!

Calculates the elements directly.