Approximating functions of positive compact operators by using Bell polynomials