function tagMathing

check if a submited tag exist in DB:
if exist {
update the counter +1
} else {
insert the new tag
}