Statistics for Using Automata Theory to Solve Problems in Additive Number Theory