changed the count window to use a golang time.Duration string