added enemyCount in waves.json and changed WaveFactory