I am trying to figure out how to count the number of rows in a dataframe that contain value pairs that span the values in a separate vector for each item in that separate ve