Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: ThomasTThere are many ways, but the easiest would be to use the "Data Analyzer" node.
Or if you have the LAL1 installed you could use the "Get Metadata" node.