making count_items final
logger now sends messages; TODO: data timestamps and end-of-scope messages