Amount relatives and the meaning of chains
The relative clause specifies the amount/number of books referred to. It functions as a cardinality modifier. It denotes the number of books on the table. The noun books moves from the RC-internal position into the external head position. We will see that it is semantically active in both positions!