update total status count query
Merge https://github.com/ycswaves/yamatoV09
Minor