Fixed a bug of __count always as same as __total.