If a spell or ability an opponent controls targets a single permanent you control more than once, Battle Mammoth's triggered ability will trigger only once. However, if a spell or ability an opponent controls targets multiple permanents you control, Battle Mammoth's triggered ability will trigger once for each of those permanents.