I think these 2 query can be an answer:
create table maptable as
SELECT
p2.ID,
concat(p2.bedrijfsnaam,count(*)) as bedrijfsnaam_new
FROM profiles p
JOIN profiles p2 on p2.bedrijfsnaam = p.bedrijfsnaam
AND p2.plaats = p.plaats
AND p2.ID > p.ID
group by p2.id,p2.bedrijfsnaam, p2.plaats;
update
profiles,
maptable
set
profiles.bedrijfsnaam=bedrijfsnaam_new
where
profiles.id=maptable.id;
The first part is based on Denis' answer...