work in progress. counting use statements