Councils face bills of millions of pounds amid hundreds of f