Check counter for null