Write $p_\lambda(x)$ for the Box-Cox transformation of $x$ with parameter $\lambda$, $-\infty\lt\lambda\lt\infty$. The full model for data $(x_i,y_i)$ where the responses $(y_i)$ are viewed as a realization of a random vector $(Y_i)$ is described in the question as
$$\mathbb{E}(p_{\lambda_y}(Y_i)) = a + b\, p_{\lambda_x}(x_i).$$
That explicitly has four parameters ${a, b, p_{\lambda_y}, p_{\lambda_x}}$, all of which are identifiable provided there are at least three distinct values of $x_i$ and three distinct values of $y_i$. According to the answers to your preceding question, you count four parameters when none of the values are established independently of the data (and therefore are estimated from the data). If instead either (or both) $\lambda_x$ or $\lambda_y$ were established in some other way--for instance, if $\lambda_y$ were computed from a separate data set--then it would not be counted.
(Depending on distributional assumptions made about $p_{\lambda_y}(Y_i)$, there could be more parameters involved in fitting the model. Counting them is not affected by the Box-Cox transformations. The one-to-one property of the Box-Cox transformation indicates that any parameter that is identifiable in the absence of the transformation will remain identifiable when the transformation is applied.)