latest ops.js code with compound pharma count