Added statistics on data sources (see #2645)