Cleanup policy in nexus-3.66

Hi!

I want to setup a cleanup policy in nexus which we should keep the latest 2-3 versions even if the artifact has not been downloaded in the recent 180 days and for those applications which frequenctly keep uploading or downloading artifacts those components which are not being downloaded or are very old and unused should be deleted…something like this… Can we have such kind of customized cleanup policy in nexus if yes how can we do that?

Thanks for the help in advance.