Hallo, Here's a little patch I've found useful. Call it with [instance name] and it will tell you how many instances currently exist with that name (taking into account those that have been deleted, thanks to [closebang]).
Hope it's useful to others, Luke