Just list the total. Don't try to subtract out summer months. Think of it as the time you were enrolled, not just the time you were in classes.