get flipbook length usage question

I was hoping to use this node to find the duration of an animation reference in seconds, but I’m getting an error “paper flipbook reference is not compatible with paper flipbook component reference”. I can only assume that this was not it’s intended use. The documentation page is kind of vague, at least for me. Anyone have any insight on how it’s supposed to be used?