Calculate the number of model grid cells covering a specific country
Here is a simple 'back of the napkin' idea for Python:


Get a shapefile of the borders and use Python to create a polygon of the borders.
Use mpl_toolkits to convert the climate model to X and Y coordinates
Check to see if the model grid points are within the Polygon