Adds number attribute to question