Create method postViewTotal . When show a book, call this method.