$percentage = round( (($countAST[0]->total * 100) / ($countTotal[0]->total ?: 1)), 2);