I have a VBA macro that will autofilter the sheet based on criteria,

I then need to get a count of all the unique values in range (BS2:BS1000) in the cells visible after the autofilter.

How would I do this?