$tresult != $result
Use $tresult[anzahl] in your postbit.
If it still don't show, add the following line to the top of your plugin:
PHP Code:
global $tresult;
PS A much better/nicer way of doing this would be:
PHP Code:
$tresult = $vbulletin->db->query_first("SELECT COUNT(*) AS anzahl FROM ". TABLE_PREFIX ."thread WHERE forumid IN (1,4,8) AND postuserid=".$post['userid']."");
$post['anzahl'] = $tresult['anzahl'];
This is because $post is the array that is used everywhere else to store the values of a single post.
Please also note that this should be optimized to avoid performance issues. Your plugin (and the query inside) will be executed for each post on a page, also if the same member has posted more then once on the same page. It would be better to retrieve the values of each user that has posted only once.