If you're counting the original Resident Evil entries, there are 2 parts.
The series has of course grown into a sprawling franchise over the years, but for the classic duo being referenced here, two is the number.