count-trailing-whitespace-region

count-trailing-whitespace-region is a compiled Lisp function in `allout.el'.

(count-trailing-whitespace-region BEG END)

Return number of trailing whitespace chars between BEG and END.

If BEG is bigger than END we return 0.