simply said i want to find a way to count how many of a specific object existed in a folder. but this did not seem to work with Directory due to not having access to resources
Resources IS NOT a folder in build. It’s a resource file and the path you added in the editor will be the index to the file you try to load. There is no command to get all the paths you have in the Resources and you really should use this VERY sparingly (in other words: you should not use it at all, usually).