finished time till counter function, now correctly displays in timeago format