Does getreceivedaddress count the change received from outgoing transactions?
yes, if the change is going back to the same address. change amounts are no different to other inputs in that respect. normally though, change will go to a newly generated 'change' address each time.