The corresponding "GSAK number" would be generated by FindStatGen, in that case.
AFAIK, in both these cases, these GSAK macros will include lab caches in the stats if the lab caches are in your GSAK database. In the normal case, lab caches *won't* be in your database since (as mentioned above) lab caches aren't included in the myfinds gpx file, and also lab caches aren't accessible via the API. However, there are methods to manually add lab caches to a GSAK database. The GSAK macros don't have an opinion on what cache types to make stats about; they just count whatever is in your database.