Implement calculate total dogs in shelter