PDIO-7 #comment use DB function to count appdata stat