Lightroom: Incorrect keyword list count

  • 3
  • Problem
  • Updated 6 years ago
  • (Edited)
Dear Lr users/developers

There is something very wrong in the way Lr is presenting keyword list counts.


Figure 1
The keyword list count in A is 36, but there are 34 photos listed in B.
The difference here is explained by 2 stacked photos (one of them shown in C).
It is arguable whether this is a bug or a feature, but I think Lr should present in B the total number of photos, even if they are stacked (the way it is reporting in A).


Figure 2
This seems very buggy to me.
The keyword list count in D is only 1077, but there are 1104 photos listed in E.
Moreover, the sum of nested keywords in F equals 1106, which is in agreement with the 1104 listed in E plus the 2 stacked photos.

This behaviour is very erratic. In this example the count in D is less than the one presented in E.
However, for some other keywords the opposite occurs.
Photo of Ino Nimus

Ino Nimus

  • 16 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 3
Photo of John R. Ellis

John R. Ellis, Champion

  • 3865 Posts
  • 1021 Reply Likes
These behaviors appear to be by intentional design, rather than unintentional bugs. There are many other threads here and in the user-to-user forum complaining about them. It's definitely not my preferred behavior.

The count shown in the filmstrip is the number of thumbnails visible. If a stack is expanded, then all of its images are counted; if it's collapsed, then just the top image is counted.

The count shown to the right of a keyword in the Keyword List pane is the number of images explicitly assigned with that keyword; the count does not include images assigned child keywords. That is most likely why, in your example, D (1077) is not equal to F (1106) -- some of the images do not have the parent keyword explicitly assigned.

Clicking on the arrow to the right of a keyword shows the images that have the keyword explicitly assigned as well as images that have child keywords assigned. Thus, the count of the images shown can in general be different than the count shown to the right of the keyword.

LR doesn't have any easy built-in way of distinguishing between explicit versus implicit assignment of parent keywords. The Any Filter plugin lets you filter by explicit keywords and find keywords that are assigned both a child keyword and an ancestor keyword. The Keyword Consolidator plugin will also identify such assignments and let you clean them up.
Photo of Ino Nimus

Ino Nimus

  • 16 Posts
  • 0 Reply Likes
Thank you very much for the explanation and the plugin tips. I'll have a look.
This Lr behaviour is not very clever (to say the least) and causes a lot of confusion.
I can't understand the logic (if any) behind it.