One can get a superposition of all good item using quantum search algorithm in $O$($\sqrt{N}$ ) time, but how one can get all the good items using quantum search algorithm?

I found that all the good items can be found in $O$($\sqrt{Nt}$) time, where t is the number of good items, here, but I couldn't find how.