Complete Bean counting part 1