If Jhoira, Ageless Innovator isn't on the battlefield as the activated ability resolves, you won't be able to put any ingenuity counters on it. However, you can still put an artifact card from your hand onto the battlefield. Use the number of ingenuity counters that were on Jhoira before it left the battlefield to determine the value of X.