Use gc_start messages to count collections.