Add support for counting URI's