date counter added.