1

With the domain $(1,\infty)$ there are infinitely many solutions, all of which can be found as follows: take any function $g:[2,4) \to \Bbb R$ and define $f$ recursively as follows:
$
f(x)=
\begin{cases}
g(x)&\text{ if }2\le x < 4\\
f(\sqrt x) +1 &\text{ if } x\ge4\\
f(x^2)-1 &\text{ if } 1<x<2
\...