notebook prints the number of pairs in the general sample in different environments