Detecting growth of groups in networks by using a transformation method from networks to time series