move adding search constraints to a separate function
added function to run mpd_count_db_songs search