Total fusion yield measurements using deuterium–tritium gamma rays