Sub ContaCol()
Dim Row As Integer
Dim RowMax As Integer
Dim ColCell As Integer
Dim ShFoglio As Worksheet
Set ShFoglio = ThisWorkbook.Worksheets("NomeFoglio")
Row = 5 ' Sostituire con la Riga da cui vuoi iniziare
RowMax = 20 ' Sostituire con la Riga a cui vuoi terminare
ColCell = 0
While Row <= RowMax
If ShFoglio.Range("B" & Row).Font.ColorIndex = 3 Then
ColCell = ColCell + 1
End If
Row = Row + 1
Wend
'In ColCell hai il numero di celle colorate
End Sub