SERVER-11559 SERVER-12549 Count ops attempted in write commands in mongos and mongod