Ok, I'll give other example, with additional info:
A B C D
1 EQR/G/022/02/14
2 EQR/N/020/02/14
3 EQR/S/007/02/14
4 EQR/G/019/02/14
5 EQR/N/023/02/14
6 E-MAIL
7 E-MAIL
8 EQR/G/040/02/14
9 EQR/G/040/02/14

Such as A8 and A9, it's exactly the same pattern, so it should be counted only once, if the pattern change such A8 is EQR/G/040/02/14, and
A9 EQR/G/041/02/14 both of them should be counted. Example:

A B C D
1 EQR/G/022/02/14
2 EQR/N/020/02/14
3 EQR/S/007/02/14
4 EQR/G/019/02/14
5 EQR/N/023/02/14
6 E-MAIL
7 E-MAIL
8 EQR/G/040/02/14
9 EQR/G/041/02/14

It's should be counted 9.
Thanks