Let $X\subset\mathbb{R}^2$ be the graph of a Pfaffian function $f$ in the sense of Khovanskii. Suppose that $X$ is non-algebraic. This note gives an estimate for the number of rational points on $X$ of height less than or equal to $H$; the estimate is uniform in the order and degree of $f$.