Fix plug->count defines