Let $S(N)$ count the number of distinct sums of the form $\sum_{n\in A}\frac{1}{n}$ for $A\subseteq \{1,\ldots,N\}$. Estimate $S(N)$.

(Erdős Problem #320 — number theory, unit fractions — https://www.erdosproblems.com/320)