re:"
2. The total number of BOOKS per day. No matter if Claire appears twice, it should be counted as two."
Can Claire appear twice in a single day with the same book, and would it count as two books?
Perhaps you meant "2. The total number of BOOKS per day. No matter
if the same book appears twice, it should be counted as two."?
Anyway, is this picture showing the right results for the data in your attachment?:
Box
(can't attach a picture directly here)