count values that are equal from 2 columns

2 posts were split to a new topic: Help merging two data frames by a new column that doesn't share the same name