Dim X As Long, Y As Integer
For X = 4 To Cells(Rows.Count, "A").End(xlUp).Row
Cells(X, "K") = 0
For Y = 1 To 9
If "23456789" Like "*" & Cells(X, Y) & "*" And "23456789" Like "*" & Cells(X, Y + 1) & "*" Then
Do
Y = Y + 1
Loop Until Not ("23456789" Like "*" & Cells(X, Y) & "*") Or Y > 9
Cells(X, "K") = Cells(X, "K") + 1
End If
Next Y
Next X