I have table with structure
ID full_name Recommended_By Direction
1 Name1 0 None
2 Name2 1 Left
3 Name3 1 Right
4 Name4 2 Left
5 Name5 3 Left
6 Name6 2 Right
i need to know the count of parent with drown line of all his child example ID ( 1) count is 5 3 left and 2 right