fix: listview count while filtering with child table (#7420)
fix: listview count while filtering with child table (#7420)

* fix: Add distinct to count query if filter includes child table

StrellaGroup/frappe,vjFaLk/frappe,frappe/frappe,mhbu50/frappe,vjFaLk/frappe,adityahase/frappe,yashodhank/frappe,mhbu50/frappe,adityahase/frappe,adityahase/frappe,saurabh6790/frappe,saurabh6790/frappe,frappe/frappe,StrellaGroup/frappe,adityahase/frappe,mhbu50/frappe,yashodhank/frappe,saurabh6790/frappe,almeidapaulopt/frappe,StrellaGroup/frappe,vjFaLk/frappe,almeidapaulopt/frappe,mhbu50/frappe,almeidapaulopt/frappe,yashodhank/frappe,vjFaLk/frappe,almeidapaulopt/frappe,yashodhank/frappe,frappe/frappe,saurabh6790/frappe