//Homepage statistics
private function getCardData(){
$card_data = [ //Header statistics
title_icon'=>"el-icon-chat-line-square",
'card_title'=> "After-sales",
'card_cycle'=> "日",
'card_cycle_back_color'=> "#409EFF",
'bottom_title'=> "Total amount",
'vist_num'=> rand(0,100000 ;
## ]; return $card_data; } SELECT COUNT(shouhou_id) FROM cd_shouhoutp6 Want to count the number of after-sales orders? How should we write on this basis to achieve it?