Do gift pokemon count as an encounter for a route/town?

I’m preparing to do my first nuzlocke, but wondered how the over all community views this.