Check the output of your Get rows V2 action. It looks like its returning a null value. One way to deal with that is to use a Compose inside the length to substitute an empty string if the get rows retuns a null. That will give you a lenght of 0
I would also check the value instead of the body. So it should be this
length(outputs('Get_rows_(V2)')?['body/value'])