`@total_num_books` could also be a method, so you don't have to worry about keeping track in a separate attribute:

```ruby
def total_num_books
  @library_books.count
end
```