Standalone license model

In general for the commercial features and support Elasticsearch requires / counts licenses for Production Self Managed instances

Master Eligible Nodes
Data Nodes
Machine Learning Nodes

Licenses not counted / required
Kibana
Logstash
Coordinating Node Only
Ingest Node Only
APM Server

So in your case 3