viewtypes and count