2 medium onions roughly chopped (or 2 large leeks rinsed of sand, tops discarded, and roughly chopped)