How about this: Let $G(t) = \nu(0,t).$ Let $N_t$ be the cardinality of $\{n: S_n\le G(t)\}.$