Can one find a function $f : \mathbb{N} \rightarrow \mathbb{N}$ such that for every finite supersolvable group $G$ we have: $d(G') \leq f(d(G))$?

Here $d(K)$ is the cardinality of a minimal set of generators for $K$, and $K'$ is the commutator subgroup of $K$.