I have a user Dto from a request UserDto{ names:[xx, yy] Address:[xxx, yyy] Number:[xx, xx, yy] } I need the Size of the inputs in userDto And result should be 7. Can anyone help me with this.