want to find out the percentage of the duplicated data where there is a condition if any data falls between the range of the port start and port end the count as duplicated