Statistics for Internal monoid actions in a cartesian closed category and higher-dimensional group automorphisms