count available services correctly, RT#10340