This is a plugin for Obsidian that adds a simple popup with statistics about the current vault.

After installing and enabling the plugin, you can open the popup with the button in the ribbon, or with the "Show vault statistics" command (which you can run from the command palette or by giving it a keyboard shortcut).
You can choose which statistics are shown with the plugin settings page. You can also choose to treat .txt files as notes.

You may edit these settings while the statistics popup is open. Doing so will update the popup.