Fixed buffer overflow
Added COUNT to default config file