qt: playlistmedialist/TypeError: Cannot read property 'count' of null
When we click on Playlist view, a Qt warning is generated. TypeError: Cannot read property 'count' of null
This is due to the function _getCount(model) is not defined when "model.count" is undefined
With this commit the warning is controlled.
Fixes: #28561
Edited by Darshan Jain