Drafted code for computing eu27 patent count correlations