Snapshot Retention Policy in replication Tasks

We are using the most updated TrueNAS Scale. In Data Protection-> Replication Tasks the configuration “Snapshot Retention Policy” doesn’t have any parameter to limit the number of snapshots which will be keep. For example I need to limit the number of replicated snapshots to 300 and not more. Definitely I don’t want the number of snapshots be the same as source because I want to keep more snapshots but limited numbers because of performance degradation. How we can do it? Is it possible to add this feature to TrueNAS?