Holder Mint Question

I have previously printed nft in erc-721 contract and I want to mint another nft for those who hold this NFT, how can I do this?

I want those who hold 2 or more to mint it.

We could not find a solution except to do this process by taking snapshots.