Add count in logs