def get_number_alien_rows(game_settings, starship_height, alien_height):
	"""Returns the number of alien rows."""
	available_space_y = game_settings.screen_height - (3 * alien_height) - 3 * starship_height
	number_alien_rows = int(available_space_y / (2 * alien_height))
	return number_alien_rows