code: def display_movements_stats(ct, base_assignment):
      
      movement_count, movement_size, leader_changes = \
          stats.get_partition_movement_stats(ct, base_assignment)
      print(
          'Total partition movements: {movement_count}\n'
          'Total partition movement size: {movement_size}\n'
          'Total leader changes: {leader_changes}'
          .format(
              movement_count=movement_count,
              movement_size=movement_size,
              leader_changes=leader_changes,
          )
      )
docs: Display how the amount of movement between two assignments.
  
      :param ct: The cluster's ClusterTopology.
      :param base_assignment: The cluster assignment to compare against.