Fixed unitialized variable_count