"У меня много книг" is literally "I have a pile OF books". That's why we use genitive.