added checker to specify course offering to node count function