Fix category count