I'm trying to tidy up my vault and delete some old entries and folders, but the confirmation prompt is showing an incorrect number of items to be deleted and this is making me concerned that the wrong items may be deleted.
In my vault I have a number of empty folders, and each one is giving me a different count on the delete confirmation prompt (e.g. "Delete Folder: Email containing 2 item(s)?"). I've seen 1, 2, 4, 5, 15. I don't know if it's counting things from other folders, or including already deleted notes from inside the folders or what but I don't want to delete the folders when it's giving me incorrect counts and risk losing access to something unintentionally.
The problem also exists on non-empty folders. For example, when I try to delete a folder with 6 items in (as indicated by the brackets: e.g. "Folder name (6)" - the confirmation dialog says "Delete Folder: Folder name containing 11 item(s)?". The count shown in the dialog has no pattern I've been able to discern.
Can you please look at this and confirm the bug and issue a fix?