How many foreign keys are mapped to the relation representing X?