I've been struggling to change a NULL value returned by Count(EventID) or Count(*) to zero. I'm outputting the the total number of EventID 16571 written in the application log for the last month in 8 hour segments. If no events were returned in the 8 hours segment, nothing is written to the csv...