Added filtered counting of books

And altered views bit