Fix bug in count references of tasks.

	modified:   kernel/color.c