'page',
'posts_per_page' => -1,
'post_parent' => $_GET['index-edit'],
'orderby' => 'date',
'order' => 'DESC',
'post_status' => ['publish', 'draft', 'trash']
];
$query = new WP_Query($args);
if ($query->have_posts()) :
?>
found_posts == 1) : ?>
(' . $query->found_posts . ') child page.'; ?>
found_posts > 1) : ?>
(' . $query->found_posts . ') child pages.'; ?>
No pages found