Barking and Dagenham Council , who admitted that they and other agencies had involvement with the family " over a number of years , " are now trying to find out if anything could have been done to avoid the incident .