In class add metod countPS