This seems a bit overly complicated to simply get the count?