You get no credit for the missed segment. You will get appropriate credit for all the segments that you do fly.
Also, doing so violates the Contract of Carriage. If AA chose to, they could come after you to collect the difference in fare between the itinerary you bought and the itinerary you flew (including applicable change fees). Fortunately, they won't do that unless you make a habit of it.