How Many Bookshelves Are Needed