If someone thinks good of someone in their head in hopes of them getting evil eye, does that count as giving them evil eye?

No it is not. Think always good and positive and pray for others, In’Sha’Allah it will grant happiness and pleasure of Allah also.