You cannot use filter()after you cut the request. The error is pretty obvious.
Cannot filter a query once a slice has been taken.
You can make a filter in Python
stuff = stuff.objects.all()[:3]
extra_stuff = [s for s in stuff if s.stuff_flag=='flag']
To get the number or elements in extra_stuff just use len()
extra_stuff_count = len(extra_stuff)
Python , stuff , . , , , .
extra_stuff = Stuff.objects.filter(id__in=stuff, stuff_flag='flag')