I was wondering if I could count "colored" cells.

From cpearson.com the VB coding is:

=SUMPRODUCT(--(COLORINDEXOFRANGE(E28:E68,FALSE,1)=38))

I want to use #38 (Pink) as the color used in different cells.

Is there a formula to use instead of going to VB?