The Philosophy of Group Cognition