Judgement call by whoever is keeping game stats. If the put back/tip is an
obvious shot attempt, it usually counts as one. But it’s also correct that he should not get credit for two offensive rebounds on the trip, because he didn’t come down with or control the first.