Although not confirmed by YouTube or Google specifically, it's generally accepted that any visit to your video that lasts 30 seconds or longer counts as a view. This goes for videos and shorts alike. This is why it's so important to keep viewers around after that initial click. Their visit does not count as a view until they actually put a bit of time into watching your video.