Adds num_books variable in results.ejs