I am adding a feature and then allowing querying for that feature without apply edits. This works fine as it gets the feature from the local cache. I have noticed that queryFeatureCount is returning 0 in this case. Does queryFeatureCount only get results from the service?
correct, queryFeatureCount will go to the service to get the count.