I am trying to count the occurrence of an id value between two time periods in a second dataframe, and append the value as a column in the first dataframe.
I currently ha