Prime visit question to count the the no of prime between a given range

plz solve my problem and then give me a solution by editing it.

@abhay_091
refer to this