Sure, its just that these kind of strings were historically called Pascal-strings [0] because they were the way Pascal implemented strings.
[0] And still are! For example, Python refers to them as such, see the "p" (lowercase p) character code here: https://docs.python.org/3/library/struct.html#format-strings