fix notice counting code
fix notice counting code

darcs-hash:20080517192151-84dde-d96af70740e7edd76fd1dd4cd9ea5f8e9bc5c060.gz

brion/StatusNet,znarf/statusnet-ladistribution,studio666/gnu-social,foocorp/gnu-social,studio666/gnu-social,furtherfield/gnu-social,zcopley/StatusNet,shashi/StatusNet,bankonme/gnu-social,shashi/StatusNet,charnimda/lgbtpzn-social,zcopley/zcopleys-statusnet-clone,minmb/statusnet,eXcomm/gnu-social,zcopley/StatusNet,d3vgru/StatusNet,sikevux/bsk-social,xebia/statusnet-oauth2,faulteh/gnu-social,zcopley/StatusNet,znarf/statusnet-ladistribution,bankonme/gnu-social,sikevux/bsk-social,csarven/statusnet,zcopley/zcopleys-statusnet-clone,csarven/statusnet,Piratas/tortuga,d3vgru/StatusNet,faulteh/gnu-social,gnusocial/mainline,gnusocial/mainline,furtherfield/gnu-social,charlycoste/StatusNet,csarven/statusnet,Piratas/tortuga,minmb/statusnet,zh/statusnet,gnusocial/mainline,charlycoste/StatusNet,charnimda/lgbtpzn-social,furtherfield/gnu-social,faulteh/gnu-social,Br3nda/laconica,foocorp/gnu-social,d3vgru/StatusNet,chimo/social,brion/StatusNet,zh/statusnet,eXcomm/gnu-social,Piratas/tortuga,chimo/social,studio666/gnu-social,faulteh/gnu-social,meitar/laconica,meitar/laconica,Piratas/tortuga,Br3nda/laconica,znarf/statusnet-ladistribution,eXcomm/gnu-social,studio666/gnu-social,bankonme/gnu-social,csarven/statusnet,gnusocial/mainline,foocorp/gnu-social,eXcomm/gnu-social,UngPirat/freesocial,xebia/statusnet-oauth2,zcopley/zcopleys-statusnet-clone,charlycoste/StatusNet,xebia/statusnet-oauth2,furtherfield/gnu-social,brion/StatusNet,charnimda/lgbtpzn-social,sikevux/bsk-social,shashi/StatusNet,UngPirat/freesocial,meitar/laconica,chimo/social,zh/statusnet,Br3nda/laconica,UngPirat/freesocial,sikevux/bsk-social,minmb/statusnet,bankonme/gnu-social