Merge "Add method to get the number of registered attribution sources" into main