Task I: Total number of books by an author

The task was to find the total number of books written by an author. Look at the code below.

Get hands-on with 1400+ tech skills courses.