On the Link between Fact Learning and General Cognitive Ability