Replacing $A:$A in the INDEX function with the column your word or phrases
are in and the range $A2:$A397 in the COUNTA function with the actual range
your words/phrases occupy.
Copy the formula down so it's in 6 rows. In the event the same item gets
selected twice, press F9 to recalc.