fixed add book method to enable count