TV total episiode count missing or wrong

The yellow box on the poster with the number isn’t showing the total number of episodes you have for that show

It only indicates how many episodes of that show that haven’t been watched yet

The difference you see on the Roku probably has to do with Plex not having a standard way of marking things across different clients