If I play a spell and it is countered via Defy, will Viktor Inventor still trigger?

Ruling: "Play a spell" triggers require the spell to fully resolve, so Viktor Inventor will not trigger if the spell is countered.