Preferably from Excel (part of a report needs to display the current number of e.g. turbines).
Programmatically, not via manual search dialog. (It could require the user to click a button to update the count i.e. trigger the calculation).
I know you could do this with AF SDK but that is not really an option in Excel (unless writing an add-in).