I have a question on how to apply Itô's lemma on a function composition:
Let us consider a stochastic process $$ dX_t = a(X_t,t)dt+ b(X_t,t)dW_t, $$ where $W_t$ denotes the standard Brownian motion.
If we know the function $Y=Y(X_t,t)$, we can easily calculate $dY$ by applying Itô's lemma as \begin{align*} dY &= \left(\frac{\partial Y}{\partial t} + a\frac{\partial Y}{\partial X_t} + \frac{1}{2}b^2 \frac{\partial^2 Y}{\partial X_t^2} \right)dt + b\frac{\partial Y}{\partial X_t}dW_t\\ &=: \alpha(X_t,t)dt+\beta(X_t,t)dW_t. \end{align*}
Let us then consider a function $Z(Y,t)=Z(Y(X_t,t),t)$. If I wanted to calculate $dZ$, I would apply Itô's lemma again as $$ dZ = \left(\frac{\partial Z}{\partial t} + \alpha\frac{\partial Z}{\partial Y} + \frac{1}{2}\beta^2 \frac{\partial^2 Z}{\partial Y^2} \right)dt + \beta\frac{\partial Z}{\partial Y}dW_t. \tag{$\ast$} $$
My question is: In equation ($\ast$), is the partial derivative $\frac{\partial Z}{\partial t}$ to be considered as $\frac{\partial Z(Y,t)}{\partial t}$ or $\frac{\partial Z(Y(X,t),t)}{\partial t}=\frac{\partial Z(X,t)}{\partial t}$?