Its actually not true.
Anyone who's in-game is not in the lobby channel, thus would not be showing.. unless this changed
Edit: Realized after I posted that we're talking about different things. I mean the people who show up in the lobby, not the online counter - I don't know for a fact whether or not that one counts people in-game, though you're probably right in that it just counts everyone who logged in.