Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Folder Counts

siulved54siulved54398 downloads

Show how many notes or files each folder holds in the file explorer, with a vault total, file type filters and folder exclusions.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

See how many notes each folder holds, right in the file explorer.

The file explorer with a number beside each folder: Journal 353, Projects 91 (Archive 64, Garden 7, Website 19), Reading 32, Templates 5, Attachments 0

The numbers update by themselves as you create, delete, move and rename files. Hover a number to see what is behind it, for example "91 notes in total · 1 directly inside · 3 subfolders".

Works on desktop and mobile.

Settings

Counting

Setting Default What it does
What to count Notes Notes (Markdown files), all files, only the file types you list, the total words of your notes, or the total size of your files.
Extensions md With "Files with these extensions": the types to count, such as md, canvas, pdf.
Count everything except these off Turns the extension list into a list of types to skip.
Include subfolders on Count everything below a folder, or only the files directly inside it.
Excluded folders none One folder per line. Excluded folders get no number and add nothing to their parents. Wildcards work: Archive/**, **/attachments.

Display

Setting Default What it does
Show counts on expanded folders off An open folder with subfolders hides its number, since its contents are on screen. Turn on to always show it.
Hide zero counts off Leave empty folders blank.
Compact numbers off 1.2k instead of 1234. Applies to counts and words; sizes are always short (12 KB, 3.4 MB).
Vault total in the status bar off What the whole vault holds, following what you count: notes, files, words or size.

Right-click a folder and choose Exclude from folder counts to add it to the excluded list, or Count this folder again to take it off.

Words and sizes

Choose Words in notes under "What to count" and each folder shows the total words of the notes inside it, the way writers track a project. Choose Size of files to see how much space a folder takes, as 12 KB or 3.4 MB. Hover a number for the breakdown, for example "12400 words in total · 18 notes · 96 KB · 2 subfolders".

How words are counted: front matter, fenced code blocks and %%comments%% are skipped; a link like [[Note|shown text]] counts the text you see; embeds and image links count nothing; each Chinese, Japanese kana or Kanji character counts as one word.

Words are read from your notes in the background, a few at a time, so a big vault never stalls Obsidian. Numbers still being counted are shown in italics and fill in as the reading goes. Each note is read once and remembered until it changes. Editing a note updates its folder a moment after you pause. Size mode needs no reading at all.

Commands

Command What it does
Show or hide the counts Turns the numbers off and on for this session.
Recount all folders Counts again from scratch. You should never need it.

Coming from File Explorer Note Count

This plugin does what File Explorer Note Count does and adds excluded folders, direct-only counts, hiding zeros, compact numbers, a vault total in the status bar and the tooltip. On first run it copies that plugin's settings (what to count, the extension filter, "show all numbers" and the root folder total), and Settings → Import from File Explorer Note Count does it again at any time. Turn the old plugin off, or each folder will show two numbers.

How it works

The whole vault is counted in one pass over Obsidian's file tree (no file is opened or read, except in words mode), then each folder's number is placed in the explorer. Changes are collected for a moment and counted once, so a sync that brings in a thousand files costs one recount, not a thousand.

Styling

Each number is a .folder-counts-badge element inside the folder's title. Folders that have subfolders also carry .has-subfolders. A CSS snippet can restyle them, for example:

.folder-counts-badge { color: var(--text-accent); }

Installation

In Obsidian, open Settings → Community plugins → Browse and search for "Folder Counts".

More plugins by Siulved54

Plugin What it does Source
Shared Blocks Write a block of text once and reuse it in any note. Edit the source and every reference re-renders live. shared-blocks
Text Case and Cleanup Change case, make camelCase or slugs, sort lines and remove duplicates, and repair text pasted out of a PDF, without touching code or URLs. text-format
Typography as You Type Curly quotes, dashes and ellipses as you type, kept out of code and maths, with Backspace to take one back. smart-typography-plugin
Section Numbering Number headings as an outline (1, 1.1, 1.2) and keep every link to them working when they renumber. section-numbering
Spreadsheet to Table Paste cells from Excel or Google Sheets as a Markdown table with a real header, insert CSV files, and copy tables back out. spreadsheet-to-table
Hybrid Line Numbers Relative and hybrid line numbers for Vim-style jumps, where a folded section counts as one line. hybrid-line-numbers
List Item Callouts Colour a single list item as a callout by starting it with a character such as &, ! or ?. list-item-callouts
Note Reading Time Reading time of the current note or your selection in the status bar, optionally saved to a property. note-reading-time
Task Rollover Roll unfinished tasks from your last daily note into today's when it is created, with a real undo. task-rollover
Zoom Into Section Zoom into a heading or list item to see only it and its contents, with a breadcrumb bar to climb back out. zoom-into-section
Link Title on Paste Paste a web address and get a Markdown link with the page's title, fetched in the background and undone in one step. link-title-on-paste
Update Radar Checks your installed community plugins for updates in the background, shows what changed, and flags the ones that look abandoned. community-update-checker
Dataview to Bases Convert Dataview queries into Bases blocks, and see which queries in your vault can be converted. dataview-to-bases
Line Editing Commands Duplicate, join, sort and reverse lines, insert blank lines and jump to a line number, with multi-cursor support. line-editing-commands
Note Mover Rules Move notes into folders by ordered rules on tags, properties, titles and paths, with a preview before any bulk move. note-mover-rules
Tab History Keeps each tab's back and forward history across restarts, and adds commands to move, maximize and close tabs. tab-history
URL Cards Shows web addresses as cards with title, description and image, and reads existing cardlink blocks. url-cards
Vim Config Loads a vimrc-style file from your vault so your key mappings and editor commands are ready when vim mode starts. vim-config
Task Archive Moves completed tasks, with their sub-items, into an archive section or note. task-archive
Revisit Later Link the current note into a future daily note, with a date typed in plain English, so it comes back when you want to review it. revisit-later
Explorer Colors Plus Color files and folders in the file explorer, with a palette, cascading to children, and import from File Color. explorer-colors-plus
Book Lookup Create book notes from Open Library or Google Books, with cover images, ISBN search and Book Search compatible templates. book-lookup
Web Search Menu Search the web for selected text or the note title from the right-click menu, with engines you define. web-search-menu

All of them are in the community directory: Settings -> Community plugins -> Browse, then search for the name.

License

MIT

HealthExcellent
ReviewPassed
About
Display live file counts next to folders in the file explorer that update as you create, delete, move, or rename files. Hover a count to see a breakdown (total, directly inside, and subfolders), exclude folders from counting, show compact numbers, and add a vault total to the status bar — works on desktop and mobile.
FoldersFilesStatus bar
Details
Current version
0.2.0
Last updated
3 days ago
Created
2 weeks ago
Updates
2 releases
Downloads
398
Compatible with
Obsidian 1.4.4+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
siulved54siulved54
GitHubperezamadorluisenrique-gif
  1. Community
  2. Plugins
  3. Folders
  4. Folder Counts

Related plugins

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.

GridExplorer

Browse and organize note files visually in a flexible grid layout.

Better Word Count

Count the words of selected text in the editor.

Advanced Note Mover

Quickly and easily move notes to a predefined folder. Perfect for organizing your notes.

File Tree Alternative

An alternative file tree view with separate folder and file panes.

File Explorer Note Count

See the number of notes in each folder within the file explorer.

Create Note in Folder

Add commands to create a note in a specific folder.