How to find the size of a galaxy