It would be great if the documentation could actually state that. The average user is not going to be able to cook up that code to probe the size.
I am great believer in reference manuals being terse (e.g. UNIX man pages), but they lilypond ones tend to err on the side of being too terse altogether.