Flood - Setting unique prop limits

So I’m working on a Flood server, however I don’t know where to start for setting up a prop limit for certain props.
I want users to only be able to spawn a certain prop so many times so they can’t build a boat out of the same prop, I want a different limit for each prop

How would I go about doing this?
Thanks in advance.

This is what my prop/shop list is like:


PropCategories = {}
Props = {}
WeaponCategories = {}
Weapons = {}

-- Prop categories
PropCategories[1] = "Bouyant Props"
PropCategories[2] = "Armor Props"

-- Weapon categories
WeaponCategories[1] = "Weapons"

-- Props
Props[1] = {Model = "models/items/item_item_crate.mdl", Group = 1, Price = 50, Health = 300, DonatorOnly = false, Description = "Crate"}
Props[2] = {Model = "models/props_wasteland/barricade001a.mdl", Group = 1, Price = 40, Health = 260, DonatorOnly = false, Description = "barricadea"}
Props[3] = {Model = "models/props_c17/furnitureshelf001a.mdl", Group = 1, Price = 200, Health = 300, DonatorOnly = false, Description = "furnitureshelfa"}
Props[4] = {Model = "models/props_interiors/furniture_shelf01a.mdl", Group = 1, Price = 200, Health = 300, DonatorOnly = false, Description = "furnitureshelfa"}
Props[5] = {Model = "models/props_c17/bench01a.mdl", Group = 1, Price = 60, Health = 225, DonatorOnly = false, Description = "bencha"}
Props[6] = {Model = "models/props_interiors/furniture_desk01a.mdl", Group = 1, Price = 70, Health = 250, DonatorOnly = false, Description = "furnituredeska"}
Props[7] = {Model = "models/props_combine/breendesk.mdl", Group = 1, Price = 50, Health = 350, DonatorOnly = false, Description = "breendesk"}
Props[8] = {Model = "models/props_docks/dock03_pole01a_256.mdl", Group = 1, Price = 300, Health = 300, DonatorOnly = false, Description = "dockpolea"}
Props[9] = {Model = "models/props_junk/wood_crate002a.mdl", Group = 1, Price = 60, Health = 325, DonatorOnly = false, Description = "woodcratea"}
Props[10] = {Model = "models/props_junk/wood_crate001a.mdl", Group = 1, Price = 30, Health = 250, DonatorOnly = false, Description = "woodcratea"}

-- Weapons
Weapons[1] = {Model = "models/weapons/w_pistol.mdl", Group = 1, Class = "weapon_pistol", Name = "Pistol", Price = 0, Ammo = 900, AmmoClass = "Pistol", Damage = 6, DonatorOnly = false}
Weapons[2] = {Model = "models/weapons/W_357.mdl", Group = 1, Class = "weapon_357", Name = "Revolver", Price = 0, Ammo = 450, AmmoClass = "357", Damage = 30, DonatorOnly = false}
Weapons[3] = {Model = "models/weapons/W_crossbow.mdl", Group = 1, Class = "weapon_crossbow", Name = "Crossbow", Price = 15000, Ammo = 160, AmmoClass = "XBowBolt", Damage = 25, DonatorOnly = false}
Weapons[4] = {Model = "models/weapons/W_crossbow.mdl", Group = 1, Class = "swep_crossbow_frag", Name = "Viomi fragbolt", Price = 65000, Ammo = 1, AmmoClass = "Grenade", Damage = 60, DonatorOnly = false}
Weapons[5] = {Model = "models/weapons/w_shotgun.mdl", Group = 1, Class = "weapon_shotgun", Name = "Shotgun", Price = 20000, Ammo = 15, AmmoClass = "Buckshot", Damage = 40, DonatorOnly = false}


you can actually create variables for each which will increase when you spawn the prop, if its exceeds limit, you can force remove prop and send a user message. but thats a shitty way i guess.

Any way is better than no way.