I have two cells as followes :

A B
1 Sachin Vikas
2 Sachin Amit
3 Sachin Vikas
4 Sachin Vikas

i want to count no of times Sachin and Vikas comes in one row Here ans is
Three.