If you really do not need results, * do not query MySQL for them; just use COUNT: **
self.cursor.execute("SELECT COUNT(*) FROM table WHERE asset_type='movie'")
Now you will return to one row with one column, whose value is the number of rows in which your other query will be returned.
, COUNT(*). A COUNT(platform_id_episode) , , NULL platform_id_episode; COUNT(*) - . ***
* ... , fetchall() , , .
** SQL, ; , , , ( ) .
*** - " * SELECT", , , . SELECT * , , , . SELECT COUNT(*) .