Sources counting