Modified so the user can choose the letter to be counted