The inclusion gives an injection from \(\mathbb{N}\) into \(\mathbb{Q}\), and the given one goes from \(\mathbb{Q}\) into \(\mathbb{N}\). By Schröder-Bernstein, \(|\mathbb{N}|=|\mathbb{Q}|\).
The Schröder-Bernstein theorem states that if there are injections from \(A\) into \(B\) and from \(B\) into \(A\), then there is a bijection between \(A\) and \(B\).