Adds datasource count to models
adds search_indexes
rescues tasks.py