The set of all books is countable. For simplicity, just to get the idea across, consider the alphabet with only two elements. You can then construct a bijection between and in the following way:

...

The key observation is that, since the string is finite, there's only a finite number of books with a given string length.