Hello guys. I’m a developer and I’m working on a data-feed project. I’m looking for a fast and enough-affordable model to calculate NFT Rarity score. I’m currently trying to apply the [rarity.tools]( algorithm, which says to calculate the score as
**the sum of 1/\[Numb. of Pieces with given Trait/Tot. pieces of collection\]**
When I try to calculate it and compare with the website score I get score deviated till 25% which is a lot. Anyone knows any other fast method to calculate it? Thank you guys.