JE,
You can use this formula...
=COUNTIF(B:B,B2)
This will do what you are looking for.
Enclosed is your example workbook for your reference.
Saurabh...