[Migration] Get episode count from PostgreSQL
[Migration] remove unused Episode CouchDB queries
[Migrate] Move episode CouchDB queries into correct module