I'm a confused with my answer to this. I started off by using the Chinese remainder theorem and rewriting the group as isomorphic to: $$Z_3 \times Z_3 \times Z_5 \times Z_5 \times Z_9$$
The order of non identity elements in $Z_3$ is 3, 5 for $Z_5$ and 9 for $Z_9$. So I was guessing we require the identity element in all of $Z_3$ and $Z_5$, to have 8 elements of order 9. Then do we take $Z_9$ and both $Z_5$ to be the identity, with the requirement that the elements from both $Z_3$ are not the identity giving $(3-1)(3-1)=4$ options, therefore would there be 12 elements of order 9 in total?
Writing the group in components like you have is a great start, because the element's order is precisely the least common multiple of the order of its components.
Argue that the $\mathbb{Z}_5$ components must be identity, and so reduce the problem to counting the order $9$ elements of
$\mathbb{Z}_3 \times \mathbb{Z}_3 \times \mathbb{Z}_9$
Now let's pose the question: if the $\mathbb{Z}_9$ component doesn't have order $9$, what's the lcm of the component orders? On the other hand, if the $\mathbb{Z}_9$ component does have order $9$, what's the lcm of the component orders? Once we've answered those questions, we know exactly what to count.