Openjson Nested Array Python Size Function In Java