(A) There were all 45 storybooks. This is grammatically correct but odd; a more common sentence would be "There were 45 storybooks in all," meaning a total number of 45. One by one, the books disappeared from the library, until all 45 storybooks were gone.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.