A view counts on YouTube when: 1) it's a viewer-initiated intended play and 2) the video has been despammed by YouTube's algorithm. In other words, the video was played by a human on one device, and YouTube confirms it to be a legitimate view. More than that, there's a magic number of views: 300