AHEI index, HEI index
https://pubmed.ncbi.nlm.nih.gov/22513989/ is article introducing AHEI-2010.  
11 items (with best amounts):  
-- vegetables: 600g (tomatoes are counted as vegetables for this purpose)  
-- Fruits: 4 medium-sized fruits  
-- whole-grain cereals: 90g (70g for women)  
-- sweetened beverages or juices: zero (for 200g/day all points are removed)  
-- nuts and legumes: 28g  
-- red/processed meat: zero (for 150g/day of red or 60g/day of processed, all points are removed)  
-- trans fats: <0.5% energy (for 4% all points are removed)  
-- n-3 EPA + DHA: 250mg/day  
-- PUFAs: >10% energy (for <2% all points are removed)  
-- salt: lower decile (scores by decile, the lower the decile, the higher the score)  
-- alcohol: 50-200g of wine per day on average for men (only 2.5 points/10 for not consuming, and for 300g of wine/day all points are taken off)  
Total maximum 110 points.  
AHEI also has older version, see 2002y article https://pubmed.ncbi.nlm.nih.gov/12450892/ 
It had just 9 items, with maximum 87.5 points (7.5 points was given for multivitamin usage).
As for HEI, it has official website: https://www.fns.usda.gov/healthy-eating-index-hei 
https://www.fns.usda.gov/how-hei-scored 
AHEI and HEI are overall good and show good correlations with all-cause mortality in scientific papers, though arguably Summary of dietary guidelines of different countries is better to use.