Integrate (content manager) with Pricing Plan

Hello guys, I have problem with Controlling “Content manager with number of data” for users…

I need to allow user to create project with (5 numbers)


Problem
They creating Unlimited Projects
If Pricing plan gets end, their project was Still alive in my site (Collection Page)

Need Solution
I need to limit 5 projects as per plan…
If plan expire (automatically their projects need to hidden from my website)


Details

I have 4 pages & 2 dynamic Pages…
Pages Name: Collection Page, Pricing & Plans, Create Project, My Projects
Dynamic Pages name: View Project, Edit Project


Screenshots:



These are my Pages,


you see that visible option?!.. in that area i need to integrate with pricing plan by (velo by wix code)…
as per plan only allow to create only (5 projects)…
If Plan get expire… the user projects need to go hidden…


Please help me guys to solve this problem by code…