A program that counts from an input text all words composed by letters in "HIDALGO", with a maximum of two A's, one D, and one L, and any number of the other letters. Implemented using the table method.
The text to be used as an input is "El Quijote", which is provided.