Book count prints in file