added time filtering args
added time filtering method
changed way the count is performed.
added time stamp util.