I have this query
Select
APM_Application.NAME AS AppName, APM_Application.ID AS AppID,
APM_Application.NodeID, NodesData.Caption,
APM_Component.ID AS CompID, APM_Component.NAME AS C
FROM
APM_Application
INNER JOIN
NodesData ON APM_Application.NodeID = NodesData.NodeID
INNER JOIN
APM_Component ON APM_Application.ID = APM_Component.ApplicationID
WHERE
NodesData.EngineID = 1

I want to count the number of NodeID instances. e.g 37 = Count is 9 and show it on the result
TIA