Daisy and Rose each have 2 legs so between them, they have 2*2 = <<2*2=4>>4 legs
There are 24 legs in the pool and 4 belong to Daisy and Rose so there are 24-4 = <<24-4=20>>20 legs in the pool
Dogs have 4 legs and there are 20 legs in the pool so there are 20/4 = 5 dogs in the pool
#### 5