Count islands with eight-direction adjacency | Snapchat