Does word "congregation" have the same meaning in the following two sentences?

A great congregation of birds flew over.

A congregation of children pleaded for his autograph.
the same meaning