If you discover a trackable more than once, the geocaching.com website will not count more than one for the trackable.
Thus, the Bagdegen tool will not know about the duplicate discoveries and will not count them.
Had more than one TB-stamp discovered multiple times and the counter did not go up. That seems fair to me, too.