how on earth has that query got anything to do with fragmentation?

it just lists the number of extents