pickFrequentItem, add a new argument - ni, number of items in the database; add a return to the global/iterative procedure