The Trump campaign has launched a number of different lawsuits, some requesting that counting be stopped in certain states, others insisting that counting continue in other states. The CNN article you linked states:
Trump's comments were especially remarkable since it appears that the President has a good chance of winning outstanding states in Pennsylvania, Wisconsin, Georgia, North Carolina and Michigan, which could hand him a second term. And the implication of his authoritarian remarks was that the President wants vote counting to stop in those states but to go on in Arizona, where he trails Biden.
That suggests to me, at least, that the situation has moved on between Trump's comments and your reading the article and current vote counts. At the point of calling for the count to be stopped, Trump was winning those states.
In addition, even if Trump is behind in those states, some of the suits they've filed include wanting to remove (or at least review with an option to remove) ballots that have been counted from the totals. Per this article by the Detroit Free Press:
"President Trump’s campaign has not been provided with meaningful access to numerous counting locations to observe the opening of ballots and the counting process, as guaranteed by Michigan law," Trump campaign manager Bill Stepien said in a news release.
"We have filed suit today in the Michigan Court of Claims to halt counting until meaningful access has been granted. We also demand to review those ballots which were opened and counted while we did not have meaningful access. President Trump is committed to ensuring that all legal votes are counted in Michigan and everywhere else.”
So your basic assumption is correct. He hopes to gain the electoral college votes of each state where he either wants counting to stop, or continue. And he hopes to gain those he's behind in by having the ballots already counted reviewed.