taxonomy-actor


#1

I have a piece of code that lists all the actors I have in my db.
[php]<?php foreach (get_terms('actor') as $cat) : ?>

<div class="col-md-4">

	<a href="/wordpress/actor/<?php echo $cat->name; ?>"><?php echo $cat->name; ?></a><br />

</div>
<?php endforeach; ?>

[/php]

#1 how do I add the amount of custom post type movies at associated with each actor.

#2 hyperlink it to taxonomy-actor.php

tried a few things but keep getting 404 page.