fix calculation of _num_letters