Cuebids come in many forms so there is no definite answer to your question. Most players use a cuebid as the only forcing bid after an overcall, and it says nothing about the suit being cuebid. Many players use a cuebid as a limit raise over an overcall, and it says nothing about the suit being cuebid. Sometimes it is asking or showing a control for a nt contract. At a higher level it could be a control bid looking for a slam. And then there is Michaels and all it's variations. Again, says nothing about the suit being cuebid. (except you'd better be pretty short or you are lying about your Michaels bid).
So there is no rule about how many cards you can have.