Added count method

Added count method to count the total number of breadcrumbs