Limit user posts based on membership plan

Hello im building a marketplace and I plan to have membership tiers with certain features.

Lowest tier:
Storefront up to 10 product posts

Mid/Highest:
Storefront with unlimited product posts

How do I structure my workflow/database to make sure the lowest tier doesnt post over 10 products?

Create a new type within the user that is something like “MaxPosts” make it a number type