This is the Mac from the system Information.app (about this Mac).
Mechanism
When we click on the Store button, the Mac background will be spotlight to audio,movie,apps the properties of the file.
Spotlight is indexed by the Mac's set of metadata mechanisms, metadata can be understood as a quick classification and metadata index for the entire file system, like a dictionary catalog, which can be felt as being stored in the root directory.
The MAC has a specification for the entire metadata, which can be viewed by command Mdls, Attributes Kmditemcontenttypetree, and incremented properties.
So for the size of the statistic apps, it is to sum up all the "com.apple.package".
Workaround:
In some cases, there may be an error in the metadata index, at which point we can see that the statistical results are problematic or that the deviations are too large, and this is the time to go through the following steps
1. Make sure spotlight is not closed
Show enabled into step two, or you need to open the spotlight.
Alexs-imac:documents alex$ sudo mdutil-i on/
2. Metadata the entire disk of the Mac, re-establish the index
sudo mdutil-e/
This operation is more disk-consuming Io, the obvious feeling is that the system is not so smooth, if the disk is large, more files, it may take a long time.
It's best to work out, or to have a meal gap operation.