YES 4 sectors (SFO-HKG, HKG-MAA, MAA-HKG, HKG-SFO), but in this case it might be easier for you to achieve the 30000 miles threshold than 20 sectors for Silver.
AA is a member of oneworld, so no matter how short the flight is, it count as one sector, as long as your fare qualifies.
However, AS is not a member of oneworld, so you only earn Asia Miles (no MPO miles / sectors)