You use expressions such as come to think of it, when you think about it, or thinking about it, when you mention something that you have suddenly remembered or realized.
He was her distant relative, as was everyone else on the island, come to think ofit.
When you think about it, he's probably right.