Gotta agree with @tlance it's not a shot.
He was trying to save the ball from going out of bounds and it went in. It's not even an "attempt"
How many times have we seen a player fight for a rebound and it accidentally goes in his own basket? Does that count as a shot too?
That's how it gets recorded on the stat sheet.