This should be documented somewhere. I did not find it.
By the way, I am not sure since which version, but the much simpler syntax
L_C := ::ROWCOUNT;
is also possible. I see select from dummy used frequently, however I really prefer using the assignment operator where it is possible.
Cheers,
Martin