A cream-painted vintage shop balance scale, its two brass pans hanging at different heights beneath a gram dial.

One folder, two honest answers

Formats · · · 20 min read

Why Two Apps Count the Same Folder Differently

Point one app at a folder and it reports 83,402 photos. Point another at the same folder and it reports 91,428 files. Open the folder in a file manager and the status bar says 173,813 items. Nothing has been added, nothing has been deleted, and not one of those three numbers is a mistake. They are answers to three different questions that all sound like “how many photos do I have?” — and the gap between them, in the library counted for this article, is more than ninety thousand items wide.

Already recognize your own library? You can try it on your photographs now.

Free Test Drive Buy Now

The word “photo” is worth 8,026 files

Before anything technical happens, two pieces of software have to agree on what they are being asked to count. They almost never do, and the first disagreement is the largest one.

The folder counted throughout this article holds 91,428 media files. Split by kind:

  • 83,402 photos
  • 8,026 videos

That is the whole of the first gap. An app whose job is photographs reports 83,402. An app whose job is everything a camera produces reports 91,428. The difference is 8,026 files — 8.8% of the library — and it is created entirely by which of two reasonable definitions the developer picked, years ago, probably without writing it down anywhere the user will ever see.

This is worth being blunt about, because it is the single most common reason people believe photos have gone missing. You remember a number. You see a smaller number somewhere else. The obvious conclusion is loss. The far likelier conclusion is that one of the two was never counting videos.

It gets worse when the two numbers come from the same company. A phone’s gallery, that phone’s backup screen, and the web page you later sign in to are three separate pieces of software with three separate ideas of scope, and the number each one shows you is correct for the question it is actually answering. None of them tells you which question that was.

So the first thing to establish about any photo count is not whether it is right. It is what it counts.

The smaller count is the bigger library

Having decided that videos are the small part of this library, look at what they weigh:

  • 83,402 photos — 81.2 GB, averaging 1,021 KB each
  • 8,026 videos — 255 GB, averaging 33,317 KB each

The videos are one eleventh of the file count and more than three quarters of the space. The average video in this folder is thirty-two times the size of the average photo.

That inversion is why two apps can disagree about a library and both appear to be wildly wrong to the person reading them. An app reporting items says the library is overwhelmingly photographs. An app reporting storage says it is overwhelmingly video. A reader who has only ever seen one of those two screens has a mental model that the other screen seems to contradict.

There is a practical edge to this. If you are trying to free up space, the item count is actively misleading — deleting a thousand photographs here would recover about 1 GB, while deleting thirty videos would recover the same. And if you are trying to judge whether a copy finished, the storage figure is the misleading one, because the great majority of the files that still need to arrive are small.

One more number from the same library, because it shows how incomplete a storage figure can quietly be: of the 8,026 videos, 958 carry no duration at all. The 7,068 that do add up to 138.4 hours. Any app offering you a total runtime for this folder is building it from 88% of the videos and saying nothing about the rest.

The 82,385 items in the folder that are not photographs

The library in this article was partly assembled from an export — nine archive files produced by a photo service and unpacked into one tree. Exports of that kind do not only contain pictures. Alongside each photograph they write a small text note holding the things the picture itself could not carry: the date the service recorded, the location, the description, who was tagged, which albums it belonged to.

In this folder there are 82,385 of those notes.

So the same tree, counted three ways:

  • 83,402 — photographs
  • 91,428 — photographs and videos
  • 173,813 — every item a file manager can see

A file manager is not wrong. There really are 173,813 files on that disk, they really do occupy space, and if you copy the folder you really are copying all of them. But the number has almost nothing to do with how many photographs exist, and it is the number most likely to appear in a progress dialog while something is being moved.

These notes also explain a particular kind of panic. Delete the notes and the pictures all survive — the count of photographs does not move at all. What moves is everything the pictures no longer know about themselves. We have written separately about why a photo’s date so often lives in a different file from the photo; the short version is that in this library 42,947 files took their date from one of these notes rather than from anything inside the image.

Two apps pointed at this folder will therefore disagree twice: once about whether the notes are files worth counting, and once about whether the dates in them are facts worth believing.

What each app has agreed to call a picture

Even among the files that are indisputably images, apps do not agree on the list. Here is every format in this library, with its count:

  • jpg — 82,593  ·  mp4 — 7,934  ·  png — 581  ·  jpeg — 114
  • mpg — 62  ·  webp — 59  ·  gif — 39  ·  m4v — 12  ·  dng — 8
  • 3gp — 7  ·  mov — 7  ·  heic — 4  ·  webm — 4  ·  tif — 3  ·  bmp — 1

Two numbers matter here. The first is that a strict app — one that accepts only JPEG and PNG — would count 83,288 of the 83,402 photographs, and the 114 it skipped would be spread across six formats, one of which has a single file in it. The second is that nobody would notice. A 114-file shortfall inside an 83,402-file library is 0.14%, and it is exactly the kind of gap that produces a complaint years later, when the one file that mattered turns out to have been a TIFF.

This is not a hypothetical. Google publishes the list of file types its backup accepts. On its Back up photos and videos help page, read on 3 November 2026, the photo list is given as:

“Photos: .jpg, .heic, .heif, .png, .webp, .gif, .avif and most RAW files.”

and the same page adds, plainly:

“If you try to back up a file type not listed here, it may not work with Google Photos.”

Hold that list against this folder. TIFF is not on it, and there are three TIFF files here. BMP is not on it, and there is one. The same page’s video list runs “.mpg, .mod, .mmv, .tod, .wmv, .asf, .avi, .divx, .mov, .m4v, .3gp, .3g2, .mp4, .m2t, .m2ts, .mts and .mkv” — which does not include WebM, and there are four WebM files here.

Eight files, in a library of 91,428. That is the point. The formats an app declines are always rare, which is precisely why their absence is never noticed until somebody goes looking for a specific picture.

The 166 files that are too small to count

Format is not the only published rule. The same Google help page states a minimum size:

“Items must be larger than 256 x 256.”

In this library, 166 photographs are 256 × 256 or smaller. A wider test — any image under 256 pixels on either side — catches 404.

They are not a mystery. The smallest file in the folder is one pixel by one pixel. Seven more are four by four. These are tracking pixels, spacer images, thumbnails saved by accident, logos pulled out of messages — the debris that collects in any folder that has ever received files from the internet.

Nobody wants them. But they are counted by a file manager, counted by most photo apps, and not counted by the service whose published rule excludes them — and that is a three-way disagreement about 166 files that no screen anywhere will ever explain to you.

Add those 166 to the eight files in unlisted formats and the published rules of one vendor would, on their own, produce a count 174 lower than the folder holds. A reader who notices the discrepancy has no way at all to discover which 174.

Counting by name loses 3,723 files

Some tools count files. Some count names. On a folder tree with 350 folders in it, those are not the same operation.

This library has 91,428 files and 87,705 distinct filenames. Counting by name loses 3,723 files, and the losses are not evenly spread:

  • 85,564 names belong to exactly one file
  • 2,115 names are used by two files each
  • 20 names are used by between three and nine files each
  • 6 names are used by 1,574 files between them

Those last six are worth seeing, because they are what a reused name actually looks like in the wild. They are slide_01.jpg through slide_06.jpg, and they appear 273, 270, 260, 259, 256 and 256 times respectively — the pages of a run of collages, each one written into its own folder by a tool that had no reason to care what the neighbours were called.

A deduplicating counter that keys on name reports 87,705. A file counter reports 91,428. And a counter that compares the actual bytes reports something different again: among the 4,385 files in this library for which a content fingerprint had been computed, 15 pairs are byte-for-byte identical — eight of those pairs sitting in different folders, seven sitting side by side in the same one.

Three defensible ways to count, three different answers, and the only one most people ever see is whichever one their current app happens to use.

The 654 files that are deleted and still there

Of the 91,428 files, 654 are flagged as deleted and are still present on the disk. All 654 are photographs.

This is the quietest disagreement of the lot, because every piece of software involved behaves sensibly. Something that counts what is on the disk says 91,428. Something that counts what you would see in a gallery says 90,774. Something that counts what a backup would restore depends entirely on how the backup was configured.

Deletion on a modern computer is rarely a single event. There is the moment the file leaves the view, the moment the space is actually released, and — if the folder is synchronised anywhere — the moment that decision propagates to the copies. A count taken between any two of those moments is accurate and temporary.

The practical consequence is that “I deleted 600 photos and the number did not change” is usually not a bug. It is two different apps standing at two different points on that timeline.

The files a library counts but does not contain

So far every disagreement has been about which files in a folder to count. The last one runs the other way: a photo library can count files that are not in its folder at all.

Apple documents this directly. In the Photos User Guide for Mac, on the page Change where photos and videos are stored on Mac, read on 3 November 2026:

“To save storage space, you can store photos and videos outside the Photos library (for example, on an external storage drive) and still view them in Photos. Files stored outside your library are called referenced files.”

The same page then sets out, in Apple’s own words, what that costs:

“If you disconnect the device where the files are located, or move or rename the files in the Finder, Photos won’t be able to locate them.”

“Referenced files aren’t automatically backed up along with the rest of your files when you back up your photo library — you must back them up manually.”

This is the most consequential count mismatch there is, because it is the one where the two numbers drift apart over time rather than simply differing. The library’s count stays the same while the folder’s contents move, get renamed, or sit on a drive that is currently unplugged. The app still lists the photograph. The photograph is not where the app thinks it is.

It also explains a genuinely alarming experience: backing up a photo library faithfully, and discovering later that a large part of it was never in the backup. Apple says so on the page above. It is documented, it is deliberate, and it is a setting rather than a failure — but the number on the screen gives no hint which kind of library you have.

Nine files, or 91,428, from the same starting point

The last variable is the simplest and the easiest to get wrong: how far down the tool looked.

The 91,428 files in this library live in 350 folders, nested between three and seven levels deep. At the very top level, loose in the root folder rather than in any subfolder, there are nine files.

So a tool that counts the folder you gave it, without descending, reports 9. A tool that descends reports 91,428. Same path typed into both.

In practice almost every photo app descends and almost every quick scripted count does not, which is why a number produced on a command line and a number produced by an application so often look like they are describing different machines.

Depth has a second effect worth knowing. 89,377 of these files sit at exactly one depth — a single year-by-year layer — while 1,835 sit two levels further down and 51 further still. Any tool that caps how deep it will go, for speed, will find the great majority of the library and silently miss the oddest corners of it. Those corners are, reliably, where the old material is.

Eight decisions, and what each one is worth

Every number in this article came out of the same folder. What separates them is a short list of choices, each made silently inside a piece of software. Here is the whole list, with the size of the gap each one opens in this library:

  • Photos, or photos and videos? — 8,026 files
  • Are the export notes files? — 82,385 items
  • Which formats count as pictures? — up to 114 files, across six formats
  • Is there a minimum size? — 166 files at the published floor, 404 on a wider test
  • Are deleted-but-present files included? — 654 files
  • By file, or by filename? — 3,723 files
  • By filename, or by content? — 15 identical pairs among the 4,385 files tested
  • How deep does it look? — 9 files, or 91,419 more

And then the ninth, which is different in kind from the other eight, because it is the only one where the two numbers drift apart rather than simply differing: does the library hold its files, or point at them?

Set out together, the striking thing is how little overlap there is. These are not eight versions of one argument. They are eight genuinely separate questions, and a tool answers all of them before it shows you a single digit. Two tools agreeing on every one is possible. It is not the normal case, and nothing on either screen tells you whether it happened.

It also explains why the gaps are so hard to chase. The differences do not add up neatly — some overlap, some do not — so a shortfall of, say, 900 files has no unique explanation. Working out which combination produced it means knowing all eight answers for both tools, and that information is published for almost none of them.

Five things widely believed about photo counts that are wrong

“If two apps disagree, one of them is broken.” Almost never. Every number in this article came from the same 91,428 files, and every one of them is defensible. The disagreements are about scope, not accuracy.

“The bigger number is the more complete one.” Not reliably. The biggest number for this folder, 173,813, is mostly text notes. The most complete count of actual photographs, 83,402, is the second smallest number on the page.

“A count that went down means something was deleted.” It can equally mean a format was dropped, a size floor was applied, a recycle bin was excluded, a tool stopped descending, or you are looking at photographs where you were previously looking at files.

“Counting files is a simple operation.” There are at least eight independent decisions inside it: photos or media, which formats, minimum size, deleted or not, by name or by file, by name or by content, how deep, and whether referenced files count. Two tools agreeing on all eight is the unusual outcome.

“The app will tell me what it counted.” Vanishingly few do. Google publishes its format list and its size floor on a help page; Apple documents referenced files in its user guide. Both are excellent, and both are several clicks away from the number itself.

What to do, in the order that helps

1. Before comparing two numbers, find out what each one counts. Photos only, or photos and videos? That single question explains the majority of mismatches, and in this library it is worth 8,026 files on its own.

2. Count the folder with a file manager once, and write the number down. It is the only count that includes everything, including the notes and the debris. It is your ceiling. Every app number should be at or below it.

3. Check the published rules of any service you rely on. Google’s list of accepted types and its minimum size are both written down. Reading them takes two minutes and tells you precisely which of your files will never arrive.

4. Find out whether your library contains its files or points at them. On a Mac this is one checkbox, described on the Apple page quoted above. If it points at them, the files need backing up separately — Apple says so explicitly.

5. Treat a shrinking count as a question, not an emergency. Ask what changed about the counter before assuming something changed about the photographs. In our experience the counter changed far more often.

6. If you want one number you can trust, pick one tool and stay with it. Consistency over time is more useful than any individual figure, because it turns an unanswerable question — which number is right? — into an answerable one: did this number move?

How we counted

Every figure in this article comes from one real photo library of 91,428 files spanning 2004 to 2026, indexed with Photo Date Rescue and then queried directly. Nothing is modelled, estimated or scaled up from a sample.

The counts of photographs and videos, file sizes, pixel dimensions, formats, folder depths, filename repeats and deleted flags are all straightforward aggregates over that index. The 82,385 figure is the number of export notes recorded alongside the media, drawn from nine source archives. The duplicate-pair figure deliberately names its own limit: content fingerprints existed for 4,385 of the files, so the 15 identical pairs are 15 pairs within that subset, not within the whole library.

The two vendor rules quoted are published documentation, read in full on 3 November 2026: Google’s Back up photos and videos help page for the file-type list and the 256 × 256 minimum, and Apple’s Photos User Guide page Change where photos and videos are stored on Mac for referenced files. Both are quoted exactly as written. We did not test either product’s behavior; we compared what each vendor says it does against what is actually in the folder.

One figure was cut during fact-checking. An early draft was going to open on an apparent split in how file extensions were recorded in this library. On checking, that split turned out to be an artefact of how one indexing pass had written the field rather than anything about the photographs, so it is not in the article. We mention it because it is a fair example of the thing this whole piece is about: a number can be entirely real, reproducible, and still not mean what it appears to mean.

Doing it in Photo Date Rescue: Organizing covers what Photo Date Rescue counts, and how it says so.

Where this comes from

Sources read on 3 November 2026. The quotations and figures above come from other people’s documentation as it stood that day. Policies and specifications change, and they change quietly — so if you are about to rely on one of these numbers, open the link and check it rather than taking our word for a page we read months ago.

You cannot protect what you cannot count

If two programs disagree about how many photographs you have, neither number is one you can plan a backup around. PDR counts what is actually there and says what it skipped.

Free Test Drive Buy Now

Frequently asked questions

Why does my phone say I have more photos than my computer does?

The most common cause is that one of the two is counting videos and the other is not. In the library measured here that difference alone is 8,026 files. The second most common cause is that the phone is counting screenshots and downloaded images that live in the same place as the camera roll, while the computer is looking only at a folder you copied the camera roll into.

My file manager says 173,813 items but my photo app says 91,428. Where did the rest go?

Nowhere. In this library 82,385 of those items are small text notes written by a photo export, one per picture, holding dates and locations and album names. They are real files taking real space, and they are not photographs. A file manager counts everything; a photo app counts pictures.

Does deleting those extra files delete my photos?

No — the pictures survive and the count of photographs does not move. But the notes often hold the only surviving record of when and where a picture was taken. In this library 42,947 files took their date from one of those notes rather than from inside the image, so deleting them before the dates have been read into the photos themselves loses information that cannot be recovered.

Which file types will Google Photos not back up?

Google publishes the list. Its help page gives the accepted photo types as “.jpg, .heic, .heif, .png, .webp, .gif, .avif and most RAW files” and states that “if you try to back up a file type not listed here, it may not work with Google Photos.” TIFF and BMP are not on that list, and the accompanying video list does not include WebM. In the folder examined here that is eight files.

Is there a minimum size below which a photo will not be backed up?

Google states one: “Items must be larger than 256 x 256.” In this library 166 images are at or below that size, and 404 are under 256 pixels on at least one side. Most are tracking pixels, spacers and tiny thumbnails rather than photographs anybody would miss — the smallest is a single pixel — but the rule applies to all of them equally.

What are referenced files and do I have any?

Apple’s term for photos that a library displays but does not store. Its user guide says “files stored outside your library are called referenced files” and warns that if you “disconnect the device where the files are located, or move or rename the files in the Finder, Photos won’t be able to locate them.” On a Mac the setting is the “Copy items to the Photos library” tickbox in Photos settings. If it is off, your library points at files rather than holding them.

Why would a backup of my photo library not include all my photos?

If the library uses referenced files, because Apple says it does not: “Referenced files aren’t automatically backed up along with the rest of your files when you back up your photo library — you must back them up manually.” This is the single most expensive count mismatch in this article, because the number on screen looks complete right up until the moment you need the backup.

Why does a script I ran report nine files when there are clearly thousands?

Because it did not descend into subfolders. The library here has 350 folders nested three to seven levels deep, and only nine files sit loose at the top. Recursive and non-recursive counts of the same path differ by 91,419 files in this case, which is about as stark as the difference gets.

Two apps both say they found duplicates but give different numbers. Why?

Because one is almost certainly comparing filenames and the other is comparing the contents of the files. In this library 2,115 filenames are used twice and six filenames account for 1,574 files, while among the 4,385 files with a content fingerprint only 15 pairs are byte-for-byte identical. Name matching finds far more candidates; content matching finds far fewer and is far more certain.

Which count should I actually trust?

The one whose question matches yours. For “is everything copied?” use the file manager’s total, because it is the only one that includes everything. For “how many photographs do I have?” use a photo app’s count and check whether it includes videos. For “am I losing things over time?” pick any single tool and watch whether its number moves — a consistent count you understand beats an authoritative count you do not.