New notes with folder's name?

Things I have tried

I’ve searched in the forum and read the documentation of the plugin QuickAdd to try see how I can get what I want, without success.

What I’m trying to do

I’m trying to have a way to add new notes inside a folder with folder’s name automatically together with increasing number. By example, if my folder is named “/foo” I want to know if its possible to add automatically inside this folder a new note named “foo 1.md”, and if “foo 1.md” already exists to create a new note with name “foo 2.md”.

The plugin QuickAdd have a templating option to generate new notes but I don’t if it would be possible to configure it to name as I want.