First attempt at counting bin contents (broken).