The Alchemist subclass of the artificer has a 5th level feature Alchemical Savant which states (E:RftLW, pg 58)
Whenever you cast a spell using your alchemist’s supplies as the spellcasting focus, you gain a bonus to one roll of the spell. That roll must restore hit points or be a damage roll that deals acid, fire, necrotic, or poison damage, and the bonus equals your intelligence modifier
Elemental Weapon is an Artificer spell gives the option to grant an extra 1d4 of acid/fire damage when the enchanted weapon hits a target. Does this extra damage count as a roll of the spell and so can the roll benefit from the alchemist’s intelligence modifier bonus for a single hit?