log warning count