Help with pet datastore

So I want a datastore for my pets but how would I be able to find the pets and load them in?
So lets say in ReplicatedStorage I have a folder called “Pets” and in the folder there are 3 different pets, the pets name in the folder will be 1, 2, and 3 now if the player has a folder in its character called equipped pets how would I detect what amount of the pets there are? Then how would I find those pets in replicated storage and duplicate them back when the player rejoins?

To see how many objects are under an instance, use the # operator in front of a GetChildren() call.