Yes,more or less...
count(next five provincia) will be:
select count(provincia) from table where provincia not in
(select first five provincia...)