fixed a bug in counting blog number