In addition to the stars in a remote galaxy, there are 196 stars in a nearby galaxy. Including the 67 stars with planets and the 244 stars without planets from the remote galaxy, how many stars are there across both galaxies in total?