To perform a pill count, healthcare providers will: 1. Determine the number of pills that should have been taken since the last visit. 2. Count the number of pills remaining in the medication container. 3. Subtract the remaining pills from the initial count to determine the number of pills taken. 4. Calculate adherence as the ratio of pills taken to pills prescribed.