Merge "Switch count logging to action."