Again, you really should post in the residency obligations forum I linked to above.
As I understand, the 'accompanying Canadian citizen' formula was designed for e.g. a Canadian citizen posted to some third country for work. There are various additional restrictions as to how they look at it (or at least can look at it - the relative strictness of enforcement has apparently changed over the years ie. become somewhat more strict). One point for example: whether they even consider 'who accompanied whom.'
In your case, I would suggest your wife should NOT count on the days with you abroad being included in the calculation. Because it looks like she has basically been spending most or a lot of time in her home country regardless of whether you are there or not. So they might consider that she is residing there and you just have decided to visit her - not her accompanying you.
But I'm not an expert on this, just saying it may not be as easy as counting all days you are together abroad.
There are of course lots of other factors and those should be looked at as well, including how short she is of her residency obligation and whether she intends to actually permanently reside in Canada in the near future, etc.