I was keen on finding a python script that checks if all my meshes faces are quads. 

pseudocode:

```
nonquad = 0
for i in selected_facelist:
    if count(selected_facelist.verts) > 4:
       nonquad +=1
print "Found :",nonquad,"Non Quads"

```

I dont know the API for THE CURRENT Blender 2.8. Any help is much appreciated

or if there is a pre-built button in blender.