AT&T gains customers in 4Q, posts big loss