slight tweak to how ops.js does compound targets
count for pharma, only fetch new when count less than total
Merge branch 'ian_pharma_count' into rishi_frontend_integration