echo number of cycles in output