Se considera un vector cu componente nr intregi si un nr intreg x. Sa se afiseze nr. de aparitii al nr-ului x in vector.