若{a1,a2,...am}∪B={a1,a2,...am,am+1,...an}则集合B的个数为?