Hi You are right, I did it by using countif. but I used bubble chart as it provides more space to accommodate count values of X and Y scatter plot (X,Y).
For eg: X=5 and Y=1 and no of occurences is 5 then my data label should be 5.
Now I want to highlight some data cells based on value provided in the sample data. Please refer the attached sample file.