Write the Canto counts by types data to a log file