Array
(
[0] => Array
(
[0] => 1
[1] => 2
[2] =>
)
[1] => Array
(
[0] => 2
[1] =>
)
[2] => Array
(
[0] => 2
[1] =>
)
[3] => Array
(
[0] => 2
[1] => 4
[2] =>
)
[4] => Array
(
[0] => 1
[1] => 2
[2] => 3
[3] =>
)
[5] => Array
(
[0] => 2
[1] => 3
[2] =>
)
)
处理后的数组
Array
(
[0] => Array
(
[counts] => 2
[name] => 1
)
[1] => Array
(
[counts] => 6
[name] => 2
)
[2] => Array
(
[counts] => 2
[name] => 3
)
[3] => Array
(
[counts] => 1
[name] => 4
)
)