Or my scrappy script - so you can modify the BOM from excel/csv file editor and push it back to schematic: