Referencing styles including APA do not give guidelines on what is included in a word count.
This is something that is set by those who have created the assessment task.
Direct quotes and in-text references are usually included in a word count, but please check first with your Subject Coordinator.