The environmental factor that could affect gene expression from the options you provided is:
2. Temperature of the water.
Environmental factors like temperature can influence how genes are expressed in organisms, potentially affecting metabolic processes, development, and growth. The other options (sex of the organism, organ of the organism, and number of organisms in the group) are more related to biological and physiological attributes rather than direct environmental influences.