Year Function Sqlite3 Python Query Json File