Counter-terrorism bill passes second reading