Add and use a function to get string_view lengths as an int